• Home
  • Raw
  • Download

Lines Matching refs:strict

8 PASS 'use strict'; A threw exception ReferenceError: A is not defined.
10 PASS 'use strict'; class {} threw exception SyntaxError: Unexpected token {.
12 PASS 'use strict'; class { constructor() {} } threw exception SyntaxError: Unexpected token {.
14 PASS 'use strict'; class A { constructor() {} } did not throw exception.
16 PASS 'use strict'; class A { constructor() {} }; A.toString() is 'class A { constructor() {} }'
18 PASS 'use strict'; class A { constructor() {} }; (new A) instanceof A is true
20 PASS 'use strict'; class A { constructor() { this.base = A; } }; (new A).base.toString() is 'class …
22 PASS 'use strict'; class A { constructor() {} }; class B extends A {}; did not throw exception.
24 PASS 'use strict'; class A { constructor() {} }; class B extends A { constructor() {} }; B.toString…
26 PASS 'use strict'; class A { constructor() {} }; class B extends A {}; (new B) instanceof A is true
28 PASS 'use strict'; class A { constructor() {} }; class B extends A {}; (new B) instanceof B is true
30 PASS 'use strict'; class A { constructor() {} }; class B extends A { constructor() { super(); this.…
32 PASS 'use strict'; class A { constructor() {} }; class B extends A { constructor() { super(); this.…
36 PASS 'use strict'; A threw exception ReferenceError: A is not defined.
38 PASS 'use strict'; (class {}) did not throw exception.
40 PASS 'use strict'; (class { constructor(){} }) did not throw exception.
42 PASS 'use strict'; typeof (class {}) is "function"
44 PASS 'use strict'; (class A {}) did not throw exception.
46 PASS 'use strict'; typeof (class A {}) is "function"
48 PASS 'use strict'; (class A {}); A threw exception ReferenceError: A is not defined.
50 PASS 'use strict'; new (class A {}) did not throw exception.
52 PASS 'use strict'; typeof (new (class A {})) is "object"
54 PASS 'use strict'; (new (class A { constructor() { this.base = A; } })).base did not throw exceptio…
56 PASS 'use strict'; (new (class A { constructor() { this.base = A; } })).base.toString() is "class A…
58 PASS 'use strict'; class A {}; (class B extends A {}) did not throw exception.
60 PASS 'use strict'; class A {}; (class B extends A {}); B threw exception ReferenceError: B is not d…
62 PASS 'use strict'; class A {}; new (class B extends A {}) did not throw exception.
64 PASS 'use strict'; class A {}; new (class B extends A { constructor() { super(); this.base = A; thi…
66 PASS 'use strict'; class A {}; (new (class B extends A { constructor() { super(); this.base = A; th…
68 PASS 'use strict'; class A { constructor() {} }; (new (class B extends A { constructor() { super();…
70 PASS 'use strict'; class A { constructor() {} }; (new (class B extends A { constructor() { super();…
74 PASS 'use strict'; A threw exception ReferenceError: A is not defined.
76 PASS 'use strict'; var VarA = class {} did not throw exception.
78 PASS 'use strict'; var VarA = class { constructor() {} }; VarA.toString() is 'class { constructor()…
80 PASS 'use strict'; VarA threw exception ReferenceError: VarA is not defined.
82 PASS 'use strict'; var VarA = class A { constructor() {} } did not throw exception.
84 PASS 'use strict'; var VarA = class A { constructor() {} }; VarA.toString() is 'class A { construct…
86 PASS 'use strict'; var VarA = class A { constructor() {} }; A.toString() threw exception ReferenceE…
88 PASS 'use strict'; var VarA = class A { constructor() {} }; (new VarA) instanceof VarA is true
90 PASS 'use strict'; var VarA = class A { constructor() { this.base = A; } }; (new VarA).base.toStrin…
92 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
94 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
96 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
98 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { }; (n…
100 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { }; (n…
102 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
104 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
106 PASS 'use strict'; var VarA = class A { constructor() {} }; var VarB = class B extends VarA { const…
110 PASS 'use strict'; var result = A; result threw exception ReferenceError: A is not defined.
112 PASS 'use strict'; var result = A; class A {}; result threw exception ReferenceError: A is not defi…
114 PASS 'use strict'; class A { constructor() { A = 1; } }; new A threw exception TypeError: Assignmen…
116 PASS 'use strict'; class A { constructor() { } }; A = 1; A is 1
118 PASS 'use strict'; class A {}; var result = A; result did not throw exception.
120 PASS 'use strict'; eval('var Foo = 10'); Foo threw exception ReferenceError: Foo is not defined.
122 PASS 'use strict'; eval('class Bar { constructor() {} }'); Bar.toString() threw exception Reference…