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