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

/*---
esid: sec-intl.locale
description: >
    Intl.Locale 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.Locale]
---*/

assert.sameValue(
  Object.isExtensible(new Intl.Locale('en')),
  true,
  "Object.isExtensible(new Intl.Locale('en')) returns true"
);

reportCompare(0, 0);