blob: e07d54c85255834691f789a68bb6f576d4e621e8 [file]
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: 'undefined' is not a constructor (evaluating 'new f')' and is.
PASS: e2 should be 'TypeError: 'undefined' is not a function (evaluating 'g()')' and is.