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