-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: add genSafeVariableName
#10
Conversation
danielroe
commented
Jun 9, 2022
•
edited
edited
Can we also embed a set of reserved keywords to avoid accidentally being used? A list is here: https://mathiasbynens.be/notes/reserved-keywords More rules if you like to make more robust: https://mathiasbynens.be/notes/javascript-identifiers#:~:text=Keywords%20are%20tokens%20that%20have,void%20%2C%20while%20%2C%20and%20with%20. Also what about renaming to more generic |
Something cool just discovered: https://github.com/mathiasbynens/mothereff.in/tree/master/js-variables |