Sign in
webkit
/
WebKit
/
3f78a298b8cb2d7ccc1b4dafb89a4d60eb2fbe8f
/
.
/
JSTests
/
microbenchmarks
/
weak-set-constructor.js
blob: cf3d9dd1896bac36365e8c17f7ca37eb7d7bdbfe [
file
] [
log
] [
blame
]
function
test
(
array
)
{
return
new
WeakSet
(
array
);
}
noInline
(
test
);
var
array
=
[];
for
(
var
j
=
0
;
j
<
50
;
++
j
)
array
[
j
]
=
{};
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
test
(
array
);