blob: 1c5bb08e258d6f4c5087bff6532475de2be24351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Number.POSITIVE_INFINITY is DontDelete
*
* @section 15.7.3.6
* @path 15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.6_Number.POSITIVE_INFINITY/S15.7.3.6_A3.js
* @description Checking if deleting Number.POSITIVE_INFINITY fails
* @strict_only
* @strict_mode_negative
*/
// CHECK#1
if (delete Number.POSITIVE_INFINITY !== false) {
$ERROR('#1: delete Number.POSITIVE_INFINITY === false');
}
|