Skip to content

Commit

Permalink
Add tests for Reflect[Symbol.toStringTag] (#2710)
Browse files Browse the repository at this point in the history
Ref tc39/ecma262#2057

Co-authored-by: Leo Balter <[email protected]>
  • Loading branch information
ljharb and leobalter authored Jul 20, 2020
1 parent d3bfa94 commit 4203041
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/built-ins/Reflect/Symbol.toStringTag.js
Original file line number Diff line number Diff line change
@@ -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,
});

0 comments on commit 4203041

Please sign in to comment.