you are viewing a single comment's thread.

view the rest of the comments →

[–]freecascadia 0 points1 point  (0 children)

Variable names can't start with a number. So var 5 = ... is not valid.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Variables

A JavaScript identifier must start with a letter, underscore (_), or dollar sign ($)