summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Locale/prototype/toStringTag/toStringTag.js
blob: d58a240de7da3dc24b02134ce904ba99d5502f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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.prototype-@@tostringtag
description: >
    Checks the @@toStringTag property of the Locale prototype object.
info: |
    Intl.Locale.prototype[ @@toStringTag ]

    The initial value of the @@toStringTag property is the string value "Intl.Locale".

    This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Intl.Locale, Symbol.toStringTag]
---*/

verifyProperty(Intl.Locale.prototype, Symbol.toStringTag, {
  value: 'Intl.Locale',
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);