Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
JSTests
/
es6
/
Set_basic_functionality.js
blob: 90965ff447f7ea64e662a8cebe11e48b8d56e436 [
file
] [
log
] [
blame
]
function
test
()
{
var
obj
=
{};
var
set
=
new
Set
();
set
.
add
(
123
);
set
.
add
(
123
);
return
set
.
has
(
123
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);