blob: 774d227d035adf17f3bce0980511f2e32e4275e8 [file] [log] [blame]
Test for correct handling of exceptions from instanceof and 'new' expressions
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new {}.undefined threw exception TypeError: undefined is not a constructor (evaluating 'new {}.undefined').
PASS 1 instanceof {}.undefined threw exception TypeError: Right hand side of instanceof is not an object.
PASS successfullyParsed is true
TEST COMPLETE