mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 21:45:04 +02:00
Add tests for Reflect[Symbol.toStringTag]
(#2710)
Ref https://github.com/tc39/ecma262/pull/2057 Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
This commit is contained in:
parent
d3bfa94c16
commit
4203041cef
21
test/built-ins/Reflect/Symbol.toStringTag.js
Normal file
21
test/built-ins/Reflect/Symbol.toStringTag.js
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2020 Jordan Harband. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
description: >
|
||||
`Symbol.toStringTag` property descriptor
|
||||
info: |
|
||||
The initial value of the @@toStringTag property is the String value
|
||||
"Reflect".
|
||||
|
||||
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
|
||||
false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js]
|
||||
features: [Symbol.toStringTag, Reflect]
|
||||
---*/
|
||||
|
||||
verifyProperty(Reflect, Symbol.toStringTag, {
|
||||
value: 'Reflect',
|
||||
enumerable: false,
|
||||
writable: false,
|
||||
configurable: true,
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user