blob: b97b639a2a273f3f75ae0aae09b1d962fbcf8ca5 [file] [log] [blame]
PASS Function("'use strict'; delete x;") threw exception of type SyntaxError.
PASS !!Function("delete x;") is true
PASS true === true
PASS Function("'use strict'; delete (x);") threw exception of type SyntaxError.
PASS !!Function("delete (x);") is true
PASS true === true
PASS !!Function("'use strict'; delete x.y;") is true
PASS !!Function("delete x.y;") is true
PASS true === true
PASS Function("'use strict'; function f() { delete x; }") threw exception of type SyntaxError.
PASS !!Function("function f() { delete x; }") is true
PASS true === true
PASS Function("'use strict'; function f() { \"use strict\"; delete x; }") threw exception of type SyntaxError.
PASS Function("function f() { \"use strict\"; delete x; }") threw exception of type SyntaxError.
PASS true === true
PASSED!
PASS successfullyParsed is true
TEST COMPLETE