Sign in
webkit
/
WebKit
/
2459939e8cc33aa793cfbafafc3ea7911bf42db7
/
.
/
JSTests
/
es6
/
Set_Set.prototype.add_returns_this.js
blob: aa74693854596131e59b62c47d08f74515559e56 [
file
] [
log
] [
blame
]
function
test
()
{
var
set
=
new
Set
();
return
set
.
add
(
0
)
===
set
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);