summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Segmenter/instance/extensibility.js
blob: 2254e7f9963aec1213982443f58a6173c64be088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// |reftest| skip-if(!Intl.Segmenter) -- Intl.Segmenter is not enabled unconditionally
// Copyright 2018 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-Intl.Segmenter
description: Intl.Segmenter instance object extensibility
info: |
    17 ECMAScript Standard Built-in Objects:

    Unless specified otherwise, the [[Extensible]] internal slot
    of a built-in object initially has the value true.
features: [Intl.Segmenter]
---*/

assert.sameValue(
  Object.isExtensible(new Intl.Segmenter()),
  true,
  "Object.isExtensible(new Intl.Segmenter()) returns true"
);

reportCompare(0, 0);