Sign in
webkit
/
WebKit
/
2124e20feea540bb135c97ba7aea1d414c7ec680
/
.
/
JSTests
/
microbenchmarks
/
fixed-typed-array-storage-var-index.js
blob: a1d83ba43b0e69bc203993af76c371b0320d7256 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
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"
;
}