blob: 0efd7a86e09c4700d4cd1d68ed299fffa8327c95 [file] [log] [blame]
saambarati1@gmail.comf6d43242015-03-24 07:30:05 +00001Test for error messages for instanceof
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
keith_miller@apple.comcb11fe42015-12-18 00:37:35 +00006PASS 'instanceof' instanceof 'instanceof' threw exception TypeError: Right hand side of instanceof is not an object.
7PASS 20 instanceof 'hello' threw exception TypeError: Right hand side of instanceof is not an object.
saambarati1@gmail.comf6d43242015-03-24 07:30:05 +00008PASS 20 instanceof {} threw exception TypeError: {} is not a function. (evaluating '20 instanceof {}').
keith_miller@apple.comcb11fe42015-12-18 00:37:35 +00009PASS 20 instanceof {}.foo threw exception TypeError: Right hand side of instanceof is not an object.
10PASS 20 instanceof true threw exception TypeError: Right hand side of instanceof is not an object.
saambarati1@gmail.comf6d43242015-03-24 07:30:05 +000011PASS successfullyParsed is true
12
13TEST COMPLETE
14