blob: 6e632dc61c3dc563ef726e94124e807249894411 [file] [log] [blame]
description(
"This test for a crash when optimizing expressions of the form 'typeof o == constant' where 'constant' is not a string."
);
var o = { };
shouldBeFalse("typeof o == undefined");
shouldBeFalse("typeof o == null");
shouldBeFalse("typeof o == true");
shouldBeFalse("typeof o == false");
shouldBeFalse("typeof o == 1");
shouldBeFalse("typeof o == 1.0");
shouldBeFalse("typeof o == { }");