30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
PASS 'use strict'; eval('var x = 2; typeof x'); is "number"
|
|
PASS eval('var x = 2; typeof x'); is "number"
|
|
PASS true === true
|
|
PASS 'use strict'; eval('"use strict"; var x = 2; typeof x'); is "number"
|
|
PASS eval('"use strict"; var x = 2; typeof x'); is "number"
|
|
PASS true === true
|
|
PASS 'use strict'; eval('var x = 2;'); typeof x is "undefined"
|
|
PASS eval('var x = 2;'); typeof x is "number"
|
|
PASS true === true
|
|
PASS 'use strict'; eval('"use strict"; var x = 2;'); typeof x is "undefined"
|
|
PASS eval('"use strict"; var x = 2;'); typeof x is "undefined"
|
|
PASS true === true
|
|
PASS 'use strict'; eval('"use strict"; var x = 2; typeof x'); typeof x is "undefined"
|
|
PASS eval('"use strict"; var x = 2; typeof x'); typeof x is "undefined"
|
|
PASS true === true
|
|
PASS 'use strict'; function test() { eval('var x = 2;'); return typeof x; } test(); is "undefined"
|
|
PASS function test() { eval('var x = 2;'); return typeof x; } test(); is "number"
|
|
PASS true === true
|
|
PASS 'use strict'; function test() { 'use strict'; eval('var x = 2;'); return typeof x; } test(); is "undefined"
|
|
PASS function test() { 'use strict'; eval('var x = 2;'); return typeof x; } test(); is "undefined"
|
|
PASS true === true
|
|
PASS 'use strict'; function test() { eval('"use strict"; var x = 2;'); return typeof x; } test(); is "undefined"
|
|
PASS function test() { eval('"use strict"; var x = 2;'); return typeof x; } test(); is "undefined"
|
|
PASS true === true
|
|
PASSED!
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|