Sign in
webkit
/
WebKit
/
b0d7f9b249dd6483d6c7bc4f13c440c0842b7127
/
.
/
JSTests
/
es6
/
WeakMap_constructor_accepts_null.js
blob: 84cda9c356ba2f46ae9d9ae696d80c0ac721296d [
file
] [
log
] [
blame
]
function
test
()
{
new
WeakMap
(
null
);
return
true
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);