blob: 099dc46c9ef38c033437b3f8ef3fad196d66340d [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* A property can have attribute DontDelete like NaN propertie of Number object
*
* @path ch08/8.6/8.6.1/S8.6.1_A3.js
* @description Try to delete Number.NaN
* @noStrict
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (delete Number.NaN !== false){
$ERROR('#1: delete Number.NaN === false. Actual: ' + (delete Number.NaN));
};
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (typeof(Number.NaN) === "undefined"){
$ERROR('#2: delete Number.NaN; typeof(Number.NaN) !== "undefined" ');
};
//
//////////////////////////////////////////////////////////////////////////////