Sign in
webkit
/
WebKit
/
e5ac428f86b502d0a55e1057ddc3502d378c384d
/
.
/
LayoutTests
/
js
/
script-tests
/
map-iterate-first-entry-is-a-hole.js
blob: 015df2dfda4fb7ea7e0296592eb5ef67e5cb65df [
file
] [
log
] [
blame
]
description
(
"Tests to make sure we correctly handle iterating a map when the first entry is a hole"
);
var
map0
=
new
Map
;
map0
.
set
(
125
,
{});
map0
.
delete
(
125
);
map0
.
forEach
(
function
(
node
)
{
print
(
node
);
});