Home | History | Annotate | Download | only in js

Lines Matching refs:delete

95 shouldBeSyntaxError("(function (a){'use strict'; delete a;})()");
96 shouldBeSyntaxError("(function (){'use strict'; var a; delete a;})()");
97 shouldBeSyntaxError("(function (){var a; function f() {'use strict'; delete a;} })()");
119 shouldBeSyntaxError("'use strict'; (function (){var a; delete a;})");
120 shouldBeSyntaxError("'use strict'; var a; (function (){ delete a;})");
121 shouldBeSyntaxError("var a; (function (){ 'use strict'; delete a;})");
136 shouldBeSyntaxError("'use strict'; delete aDeletableProperty;");
137 shouldBeSyntaxError("'use strict'; (function (){ delete someDeclaredGlobal;})");
138 shouldBeSyntaxError("(function (){ 'use strict'; delete someDeclaredGlobal;})");
146 shouldThrow("'use strict'; delete objectWithReadonlyProperty.prop");
148 shouldThrow("'use strict'; delete objectWithReadonlyProperty[readonlyPropName]");
167 shouldBeSyntaxError("'use strict'; if (0) delete +a.b");
168 shouldBeSyntaxError("'use strict'; if (0) delete ++a.b");
169 shouldBeSyntaxError("'use strict'; if (0) delete void a.b");