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