Debian Codegraph @

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

raw
1 // |reftest| skip-if(!Intl.Segmenter) -- Intl.Segmenter is not enabled unconditionally
2 // Copyright 2018 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-Intl.Segmenter
7 description: Intl.Segmenter 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.Segmenter]
14 ---*/
15
16 assert.sameValue(
17 Object.isExtensible(new Intl.Segmenter()),
18 true,
19 "Object.isExtensible(new Intl.Segmenter()) returns true"
20 );
21
22 reportCompare(0, 0);