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