Lines Matching refs:delete
299 // Delete of an unqualified identifier
300 CheckStrictMode("delete unqualified;", SyntaxError);
301 CheckStrictMode("function strict() { delete unqualified; }", SyntaxError);
302 CheckStrictMode("function function_name() { delete function_name; }",
304 CheckStrictMode("function strict(parameter) { delete parameter; }",
306 CheckStrictMode("function strict() { var variable; delete variable; }",
308 CheckStrictMode("var variable; delete variable;", SyntaxError);
312 // "delete this" is allowed in strict mode and should work.
313 function strict_delete() { delete this; }
317 // Prefix unary operators other than delete, ++, -- are valid in strict mode
416 delete possibly_undefined_variable_for_strict_mode_test;
425 delete possibly_undefined_variable_for_strict_mode_test;
446 delete possibly_undefined_variable_for_strict_mode_test_with_eval;
459 delete possibly_undefined_variable_for_strict_mode_test_with_eval;
473 delete o.property;
477 delete o[i];
582 delete t.prototype.strict;
583 delete t.prototype.nonstrict;
584 delete t.prototype[strict_number];
585 delete t.prototype[nonstrict_number];
586 delete t.prototype[strict_name_get];
587 delete t.prototype[nonstrict_name_get];
588 delete t.prototype[strict_number_get];
589 delete t.prototype[nonstrict_number_get];