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