diff options
Diffstat (limited to 'js/src/tests/test262/intl402/Intl/toStringTag/toStringTag.js')
-rw-r--r-- | js/src/tests/test262/intl402/Intl/toStringTag/toStringTag.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/Intl/toStringTag/toStringTag.js b/js/src/tests/test262/intl402/Intl/toStringTag/toStringTag.js new file mode 100644 index 0000000000..0b5c250369 --- /dev/null +++ b/js/src/tests/test262/intl402/Intl/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-toStringTag +description: > + Property descriptor of Intl[@@toStringTag]. +info: | + Intl [ @@toStringTag ] + + The initial value of the @@toStringTag property is the String value "Intl". + + This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. +features: [Symbol.toStringTag] +includes: [propertyHelper.js] +---*/ + +verifyProperty(Intl, Symbol.toStringTag, { + value: "Intl", + writable: false, + enumerable: false, + configurable: true, +}); + +reportCompare(0, 0); |