Sign in
webkit
/
WebKit
/
40d9a847568ff9976450dcc37c680efd7351c7ed
/
.
/
LayoutTests
/
js
/
script-tests
/
exception-for-nonobject.js
blob: 040abc30f8e25067cb576d31009379b0e56aa3aa [
file
] [
log
] [
blame
]
description
(
"Test for correct handling of exceptions from instanceof and 'new' expressions"
);
shouldThrow
(
"new {}.undefined"
);
shouldThrow
(
"1 instanceof {}.undefined"
);