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

Identifier that begin with ~ #31

Open
soegaard opened this issue Dec 20, 2022 · 0 comments
Open

Identifier that begin with ~ #31

soegaard opened this issue Dec 20, 2022 · 0 comments

Comments

@soegaard
Copy link
Owner

Even though ~ can be used in an identifier (check this) it can't be used as the first character.

https://stackoverflow.com/questions/1661197/what-characters-are-valid-for-javascript-variable-names

Thus mangle needs to handle the first character specially.

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

No branches or pull requests

1 participant