Skip to content

Commit

Permalink
add Reflect[Symbol.toStringTag]
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 20, 2020
1 parent d3bfa94 commit 89c4594
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/built-ins/Reflect/Symbol.toStringTag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// 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]
---*/

assert.sameValue(Reflect[Symbol.toStringTag], 'Reflect');

verifyNotEnumerable(Reflect, Symbol.toStringTag);
verifyNotWritable(Reflect, Symbol.toStringTag);
verifyConfigurable(Reflect, Symbol.toStringTag);

0 comments on commit 89c4594

Please sign in to comment.