Debian Codegraph @

js/src/tests/test262/built-ins/JSON/stringify/prop-desc.js

raw
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 esid: sec-json.stringify
5 description: >
6 Property descriptor of JSON.stringify.
7 info: |
8 ECMAScript Standard Built-in Objects
9
10 Every other data property described in clauses 18 through 26 and in Annex B.2
11 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
12 [[Configurable]]: true } unless otherwise specified.
13 includes: [propertyHelper.js]
14 ---*/
15
16 verifyProperty(JSON, 'stringify', {
17 writable: true,
18 enumerable: false,
19 configurable: true,
20 });
21
22 reportCompare(0, 0);