blob: ed68b6cc8a07a5a752959573e33e185aea3195b6 [file] [log] [blame]
Test for error messages for instanceof
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 'instanceof' instanceof 'instanceof' threw exception TypeError: "instanceof" is not a function. (evaluating ''instanceof' instanceof 'instanceof'').
PASS 20 instanceof 'hello' threw exception TypeError: 'hello' is not a function. (evaluating '20 instanceof 'hello'').
PASS 20 instanceof {} threw exception TypeError: {} is not a function. (evaluating '20 instanceof {}').
PASS 20 instanceof {}.foo threw exception TypeError: {}.foo is not a function. (evaluating '20 instanceof {}.foo').
PASS 20 instanceof true threw exception TypeError: true is not a function. (evaluating '20 instanceof true').
PASS successfullyParsed is true
TEST COMPLETE