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