blob: 2f8b866e6461b8e57abc3544cb82226c6089a5ce [file] [log] [blame]
This page tests exceptions thrown from 'new' expressions. If the test passes, you'll see a series of PASS messages below.
PASS: e1 should be 'TypeError: Result of expression 'f' [undefined] is not a constructor.' and is.
PASS: e2 should be 'TypeError: Result of expression 'g' [undefined] is not a function.' and is.