Sign in
webkit
/
WebKit
/
b4234713c85383e00e81c500ff74ee340e8a262a
/
.
/
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
();