File indexing completed on 2024-04-28 15:28:37
0001 shouldBe("true ? 1 : 2", "1"); 0002 shouldBe("false ? 1 : 2", "2"); 0003 shouldBe("'abc' ? 1 : 2", "1"); 0004 shouldBe("null ? 1 : 2", "2"); 0005 shouldBe("undefined ? 1 : 2", "2"); 0006 var a = 1; 0007 if ( undefined ) 0008 a = 2; 0009 shouldBe("/*var a=1;if (undefined) a = 2;*/ a", "1");