Sign in
webkit
/
WebKit
/
5e7f476e8f6cf0297feabaa0b679031b9f06e45a
/
.
/
JSTests
/
microbenchmarks
/
fixed-typed-array-storage.js
blob: 6a26ff141b0303fcac5bd5bc02ccd77703b73095 [
file
] [
log
] [
blame
]
var
array
=
new
Int8Array
(
new
ArrayBuffer
(
100
));
function
foo
()
{
return
array
[
0
];
}
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
if
(
foo
()
!=
0
)
throw
"Error"
;
}