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