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