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