OLD | NEW |
---|---|
(Empty) | |
1 This page tests exceptions thrown from 'new' expressions. If the test passes, yo u'll see a series of PASS messages below. | |
2 | |
3 FAIL: e1 should be 'TypeError: 'undefined' is not a constructor (evaluating 'new f')' but instead is 'TypeError: f is not a function'. | |
4 FAIL: e2 should be 'TypeError: 'undefined' is not a function (evaluating 'g()')' but instead is 'TypeError: g is not a function'. | |
5 | |
OLD | NEW |