Sign in
webkit
/
WebKit
/
5ee98c8883ab121686764809a2752a0eb41e4c7c
/
.
/
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"
;
}