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