Sign in
webkit
/
WebKit
/
ab67612844bd4ac77f66b7c72fa733d3c90c027f
/
.
/
JSTests
/
es6
/
Map_Map.prototype.size.js
blob: 7bdcbfaaef06d0e2f7203bdcf37a56281095f315 [
file
] [
log
] [
blame
]
function
test
()
{
var
key
=
{};
var
map
=
new
Map
();
map
.
set
(
key
,
123
);
return
map
.
size
===
1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);