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