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