Sign in
webkit
/
WebKit
/
e452c13852ace9c101839bb40c2d88da7afa5f11
/
.
/
JSTests
/
microbenchmarks
/
map-has-and-set.js
blob: 003e9b09254058727ccfaf5f8bf628d322b985d3 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
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
();