| 1 |
// Copyright (c) 2012 Ecma International. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
info: | |
| 6 |
This test should be run without any built-ins being added/augmented. |
| 7 |
The initial value of [[Configurable]] on JSON is true. This means we |
| 8 |
should be able to delete (8.6.2.5) the stringify and parse properties. |
| 9 |
es5id: 15.12.2-0-3 |
| 10 |
description: JSON.parse must be deletable (configurable) |
| 11 |
---*/ |
| 12 |
|
| 13 |
var o = JSON; |
| 14 |
var desc = Object.getOwnPropertyDescriptor(o, "parse"); |
| 15 |
|
| 16 |
assert.sameValue(desc.configurable, true, 'desc.configurable'); |