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