diff options
Diffstat (limited to 'js/src/tests/test262/intl402/PluralRules/prototype/toStringTag/toStringTag.js')
-rw-r--r-- | js/src/tests/test262/intl402/PluralRules/prototype/toStringTag/toStringTag.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/PluralRules/prototype/toStringTag/toStringTag.js b/js/src/tests/test262/intl402/PluralRules/prototype/toStringTag/toStringTag.js new file mode 100644 index 0000000000..cdac2facc9 --- /dev/null +++ b/js/src/tests/test262/intl402/PluralRules/prototype/toStringTag/toStringTag.js @@ -0,0 +1,25 @@ +// Copyright (C) 2020 Alexey Shvayka. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-intl.pluralrules.prototype-tostringtag +description: > + Property descriptor of Intl.PluralRules.prototype[@@toStringTag]. +info: | + Intl.PluralRules.prototype [ @@toStringTag ] + + The initial value of the @@toStringTag property is the String value "Intl.PluralRules". + + This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. +features: [Symbol.toStringTag] +includes: [propertyHelper.js] +---*/ + +verifyProperty(Intl.PluralRules.prototype, Symbol.toStringTag, { + value: "Intl.PluralRules", + writable: false, + enumerable: false, + configurable: true, +}); + +reportCompare(0, 0); |