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