Debian Codegraph @

js/src/tests/test262/intl402/ListFormat/instance/extensibility.js

raw
1 // Copyright 2018 Igalia, S.L. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-Intl.ListFormat
6 description: Intl.ListFormat instance object extensibility
7 info: |
8 17 ECMAScript Standard Built-in Objects:
9
10 Unless specified otherwise, the [[Extensible]] internal slot
11 of a built-in object initially has the value true.
12 features: [Intl.ListFormat]
13 ---*/
14
15 assert.sameValue(
16 Object.isExtensible(new Intl.ListFormat()),
17 true,
18 "Object.isExtensible(new Intl.ListFormat()) returns true"
19 );
20
21 reportCompare(0, 0);