Sign in
webkit
/
WebKit
/
f1095492798604e06f5352119d809a23fbfb4219
/
.
/
JSTests
/
microbenchmarks
/
put-by-val-large-index-blank-indexing-type.js
blob: f94bd555ff0417ea6db5509ed116cd5e2573bbc6 [
file
] [
log
] [
blame
]
var
global
=
[];
function
foo
(
o
,
id
)
{
o
[
id
]
=
42
;
}
var
sum
=
0
;
for
(
var
i
=
0
;
i
<
20000
;
i
++)
{
var
o
=
{};
foo
(
o
,
i
);
sum
+=
o
[
i
];
global
.
push
(
o
);
}
if
(
sum
!=
42
*
20000
)
throw
"Error!"