tests/auto/qml/ecmascripttests/test262/test/built-ins/NaN/S15.1.1.1_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 NaN is DontDelete |
| 6 | es5id: 15.1.1.1_A3_T2 |
| 7 | description: Use delete |
| 8 | flags: [noStrict] |
| 9 | ---*/ |
| 10 | |
| 11 | // CHECK#1 |
| 12 | if (delete NaN !== false) { |
| 13 | $ERROR('#1: delete NaN === false. Actual: ' + (delete NaN)); |
| 14 | } |