summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DisplayNames/prototype/Symbol.toStringTag.js
blob: de8db1a8052225a866b448144413b1a1fad3196f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-intl.DisplayNames.prototype-@@tostringtag
description: >
  Property descriptor of DisplayNames.prototype[@@toStringTag]
info: |
  The initial value of the @@toStringTag property is the string value "Intl.DisplayNames".

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

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

reportCompare(0, 0);