Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
JSTests
/
microbenchmarks
/
weak-map-constructor.js
blob: d7f5b321c6086a34146c4b16973b3acc6b53684f [
file
] [
log
] [
blame
]
function
test
(
array
)
{
return
new
WeakMap
(
array
);
}
noInline
(
test
);
var
array
=
[];
for
(
var
j
=
0
;
j
<
50
;
++
j
)
array
[
j
]
=
[{},
0
];
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
test
(
array
);