Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Add support for Symbol#description #4

Open
benjie opened this issue Apr 30, 2019 · 0 comments
Open

Add support for Symbol#description #4

benjie opened this issue Apr 30, 2019 · 0 comments

Comments

@benjie
Copy link
Member

benjie commented Apr 30, 2019

__local_0__ is pragmatic; but lets make it nicer! In Node v12+ we can use symbol.description to get the symbol description, make it unique, and use that instead. For Node 10 and below it's equivalent to a symbol not having a description, so we can just stick with the status quo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant