Sign in
webkit
/
WebKit
/
61259cd38cb4b6635573aaaa4b864b3a71e96038
/
.
/
JSTests
/
es6
/
WeakSet_constructor_accepts_null.js
blob: ba528f88d14208c3961e58e6375800fd0e7d2daa [
file
] [
log
] [
blame
]
function
test
()
{
new
WeakSet
(
null
);
return
true
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);