Home | History | Annotate | Download | only in Expressions

Lines Matching refs:SECTION

24     ECMA Section:       11.4.9 Logical NOT Operator (!)
33 var SECTION = "11.4.9";
38 writeHeaderToLog( SECTION + " "+ TITLE);
44 testcases[tc++] = new TestCase( SECTION, "!(null)", true, !(null) );
45 testcases[tc++] = new TestCase( SECTION, "!(var x)", true, !(eval("var x")) );
46 testcases[tc++] = new TestCase( SECTION, "!(void 0)", true, !(void 0) );
48 testcases[tc++] = new TestCase( SECTION, "!(false)", true, !(false) );
49 testcases[tc++] = new TestCase( SECTION, "!(true)", false, !(true) );
50 testcases[tc++] = new TestCase( SECTION, "!()", true, !(eval()) );
51 testcases[tc++] = new TestCase( SECTION, "!(0)", true, !(0) );
52 testcases[tc++] = new TestCase( SECTION, "!(-0)", true, !(-0) );
53 testcases[tc++] = new TestCase( SECTION, "!(NaN)", true, !(Number.NaN) );
54 testcases[tc++] = new TestCase( SECTION, "!(Infinity)", false, !(Number.POSITIVE_INFINITY) );
55 testcases[tc++] = new TestCase( SECTION, "!(-Infinity)", false, !(Number.NEGATIVE_INFINITY) );
56 testcases[tc++] = new TestCase( SECTION, "!(Math.PI)", false, !(Math.PI) );
57 testcases[tc++] = new TestCase( SECTION, "!(1)", false, !(1) );
58 testcases[tc++] = new TestCase( SECTION, "!(-1)", false, !(-1) );
59 testcases[tc++] = new TestCase( SECTION, "!('')", true, !("") );
60 testcases[tc++] = new TestCase( SECTION, "!('\t')", false, !("\t") );
61 testcases[tc++] = new TestCase( SECTION, "!('0')", false, !("0") );
62 testcases[tc++] = new TestCase( SECTION, "!('string')", false, !("string") );
63 testcases[tc++] = new TestCase( SECTION, "!(new String(''))", false, !(new String("")) );
64 testcases[tc++] = new TestCase( SECTION, "!(new String('string'))", false, !(new String("string")) );
65 testcases[tc++] = new TestCase( SECTION, "!(new String())", false, !(new String()) );
66 testcases[tc++] = new TestCase( SECTION, "!(new Boolean(true))", false, !(new Boolean(true)) );
67 testcases[tc++] = new TestCase( SECTION, "!(new Boolean(false))", false, !(new Boolean(false)) );
68 testcases[tc++] = new TestCase( SECTION, "!(new Array())", false, !(new Array()) );
69 testcases[tc++] = new TestCase( SECTION, "!(new Array(1,2,3)", false, !(new Array(1,2,3)) );
70 testcases[tc++] = new TestCase( SECTION, "!(new Number())", false, !(new Number()) );
71 testcases[tc++] = new TestCase( SECTION, "!(new Number(0))", false, !(new Number(0)) );
72 testcases[tc++] = new TestCase( SECTION, "!(new Number(NaN))", false, !(new Number(Number.NaN)) );
73 testcases[tc++] = new TestCase( SECTION, "!(new Number(Infinity))", false, !(new Number(Number.POSITIVE_INFINITY)) );