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