Sign in
webkit
/
WebKit
/
10627ba484528fed3e7358b1801250bb004c8a99
/
.
/
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
);
});