test262/test/built-ins/NaN/S15.1.1.1_A3_T2.js

15 lines
342 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The NaN is DontDelete
es5id: 15.1.1.1_A3_T2
description: Use delete
flags: [noStrict]
---*/
// CHECK#1
if (delete NaN !== false) {
$ERROR('#1: delete NaN === false. Actual: ' + (delete NaN));
}