summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/ListFormat/prototype/toStringTag/toStringTag.js
blob: af1303f1c5ba0ade76635d553c460ae2722b990b (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.ListFormat.prototype-@@tostringtag
description: >
    Checks the @@toStringTag property of the ListFormat prototype object.
info: |
    Intl.ListFormat.prototype[ @@toStringTag ]

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

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

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

reportCompare(0, 0);