test262/test/built-ins/JSON/isRawJSON/prop-desc.js

26 lines
659 B
JavaScript

// Copyright (C) 2024 Igalia S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-json.israwjson
description: >
Property type and descriptor.
info: |
JSON.isRawJSON ( O )
18 ECMAScript Standard Built-in Objects
...
Every other data property described in clauses 19 through 28 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [json-parse-with-source]
---*/
verifyProperty(JSON, 'isRawJSON', {
enumerable: false,
writable: true,
configurable: true
});