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