mirror of
https://github.com/tc39/test262.git
synced 2025-07-07 14:14:42 +02:00
- Add missing noStrict flags when tests explicitly require non-strict semantics (e.g. unqualified delete, with statement) - Change `throw new Exception(...)` to `$ERROR(...)` in call/* - Replace dynamic strict mode check with noStrict flag in call/11.2.3-3_8 - Align assignment/11.13.1_A3.1 with 11.13.1_A3.2 to avoid creating implicit global variable - Split test into multiple files when undeclared variable are under test - addition/S11.6.1_A2.4_T3 - division/11.5.2_A2.4_T3 - does-not-equals/11.9.2_A2.4_T3 - equals/S11.9.1_A2.4_T3 - greater-than/S11.8.2_A2.4_T3 - greater-than-or-equal/S11.8.4_A2.4_T3 - in/S11.8.7_A2.4_T3 - instanceof/11.8.6_A2.4_T3 - left-shift/S11.7.1_A2.4_T3 - less-than/S11.8.1_A2.4_T3 - less-than-or-equal/S11.8.3_A2.4_T3 - modulus/S11.5.3_A2.4_T3 - multiplication/11.5.1_A2.4_T3 - right-shift/11.7.2_A2.4_T3 - strict-does-not-equals/11.9.5_A2.4_T3 - strict-equals/11.9.4_A2.4_T3 - subtraction/11.6.2_A2.4_T3 - unsigned-right-shift/11.7.3_A2.4_T3 - Add declaration when implicit global variable creation not part of the test - assignment/11.13.1_A4_T1 - compound-assignment/S11.13.2_A3.1_T* - compound-assignment/S11.13.2_A3.2_T* - grouping/11.1.6_A3_T5 - instanceof/S15.3.5.3_* - Split test into multiple files when unqualified delete is used - delete/S11.4.1_A2.2_T1.js - delete/11.4.1_A3.2 - grouping/S11.1.6_A2 - grouping/S11.1.6_A3_T6
24 lines
741 B
JavaScript
24 lines
741 B
JavaScript
// Copyright (c) 2012 Ecma International. All rights reserved.
|
|
// Ecma International makes this code available under the terms and conditions set
|
|
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
|
|
// "Use Terms"). Any redistribution of this code must retain the above
|
|
// copyright and this notice and otherwise comply with the Use Terms.
|
|
|
|
/*---
|
|
es5id: 11.4.1-3-1
|
|
description: >
|
|
delete operator returns true when deleting an unresolvable
|
|
reference
|
|
flags: [noStrict]
|
|
includes: [runTestCase.js]
|
|
---*/
|
|
|
|
function testcase() {
|
|
// just cooking up a long/veryLikely unique name
|
|
var d = delete __ES3_1_test_suite_test_11_4_1_3_unique_id_0__;
|
|
if (d === true) {
|
|
return true;
|
|
}
|
|
}
|
|
runTestCase(testcase);
|