Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot coerce symbol (from 5th property on BigInt64Array) to string #480

Closed
dckc opened this issue Oct 21, 2020 · 1 comment
Closed

Cannot coerce symbol (from 5th property on BigInt64Array) to string #480

dckc opened this issue Oct 21, 2020 · 1 comment
Labels
confirmed issue reported has been reproduced duplicate

Comments

@dckc
Copy link
Contributor

dckc commented Oct 21, 2020

const monster = Reflect.ownKeys(BigInt64Array);
const sonOfMonster = Object(monster[4]);

// these don't throw.
String(Symbol('hello'));
String(Symbol());

String(sonOfMonster);
// TypeError: String: Cannot coerce symbol to string

Build environment: Linux
Target device: xsnap

cc @warner @erights @kriskowal @phoddie

@phoddie phoddie added confirmed issue reported has been reproduced duplicate labels Oct 21, 2020
@phoddie
Copy link
Collaborator

phoddie commented Oct 21, 2020

duplicate of #479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue reported has been reproduced duplicate
Projects
None yet
Development

No branches or pull requests

2 participants