| 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: Number.MIN_VALUE is DontDelete |
| 6 |
es5id: 15.7.3.3_A3 |
| 7 |
description: Checking if deleting Number.MIN_VALUE fails |
| 8 |
includes: [propertyHelper.js] |
| 9 |
---*/ |
| 10 |
|
| 11 |
verifyNotConfigurable(Number, "MIN_VALUE"); |
| 12 |
|
| 13 |
//CHECK#1 |
| 14 |
try { |
| 15 |
if (delete Number.MIN_VALUE !== false) { |
| 16 |
$ERROR('#1: delete Number.MIN_VALUE === false'); |
| 17 |
} |
| 18 |
} catch (e) { |
| 19 |
if (e instanceof Test262Error) throw e; |
| 20 |
assert(e instanceof TypeError); |
| 21 |
} |