DEV Community

Discussion on: What can be max const name in JavaScript?

Collapse
yoursunny profile image
Junxiao Shi

I checked the ECMA-262 Standard edition 5.1. There isn't a limit on Identifier length. What you found is specific to the engine implementation you are using.

Collapse
gkucmierz profile image
Grzegorz Kućmierz Author

Thank you for explanation