tests/auto/qml/ecmascripttests/test262/test/built-ins/undefined/S15.1.1.3_A3_T2.js
raw| 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: The undefined is DontDelete |
| 6 | es5id: 15.1.1.3_A3.1 |
| 7 | es6id: 18.1.3 |
| 8 | esid: sec-undefined |
| 9 | description: Use delete |
| 10 | flags: [noStrict] |
| 11 | ---*/ |
| 12 | |
| 13 | // CHECK#1 |
| 14 | if (delete undefined !== false) { |
| 15 | $ERROR('#1: delete undefined === false. Actual: ' + (delete undefined)); |
| 16 | } |