Sign in
webkit
/
WebKit
/
3171213d84ddc1cb3289622b38ea4b8b7d089653
/
.
/
JSTests
/
microbenchmarks
/
map-has-and-set.js
blob: a2339409f985db8610d3f49bff55d6a5ce060a80 [
file
] [
log
] [
blame
]
function
test
()
{
let map
=
new
Map
();
for
(
let i
=
0
;
i
<
1e6
;
++
i
)
{
if
(!
map
.
has
(
i
))
map
.
set
(
i
,
i
);
}
return
map
}
noInline
(
test
);
test
();