Debian Codegraph @

js/src/tests/test262/intl402/Locale/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.locale
6 description: >
7 Intl.Locale instance object extensibility
8 info: |
9 17 ECMAScript Standard Built-in Objects:
10
11 Unless specified otherwise, the [[Extensible]] internal slot
12 of a built-in object initially has the value true.
13 features: [Intl.Locale]
14 ---*/
15
16 assert.sameValue(
17 Object.isExtensible(new Intl.Locale('en')),
18 true,
19 "Object.isExtensible(new Intl.Locale('en')) returns true"
20 );
21
22 reportCompare(0, 0);