DEV Community

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

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.

gkucmierz profile image
Grzegorz Kućmierz Author

Thank you for explanation