blob: 5b8b3fcd0ce2f7a537b47749d3f8c53458009dd7 [file] [log] [blame]
This test checks whether various forms of delete expression are allowed.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS delete x is true
PASS delete window.x is true
PASS delete window["x"] is true
PASS delete (x) is true
PASS delete (window.x) is true
PASS delete (window["x"]) is true
PASS (y, delete x) is true
PASS delete ((x)) is true
PASS delete ((window.x)) is true
PASS delete ((window["x"])) is true
PASS delete (y, x) is true
PASS delete (true ? x : y) is true
PASS delete nonexistent is true
PASS delete window.nonexistent is true
PASS delete window["nonexistent"] is true
PASS delete (nonexistent) is true
PASS delete (window.nonexistent) is true
PASS delete (window["nonexistent"]) is true
PASS delete "x" is true
PASS delete (2 + 3) is true
PASS successfullyParsed is true
TEST COMPLETE