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