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