Re:JavaScript variables: var and let and const
by masswerk on Friday March 06, 2020 @11:10PM
(#22509679)
Mind that JavaScript simply reused the set of reserved keywords from Java. This similarity in keywords and syntax is, what made the "Java" part in "JavaScript", while there is actually no deeper relation between the two languages. `const` was available. (However, `let` wasn't in that set, nor in the reserved ECMA extension.)
[ Parent
| on HN ]
There are no comments on this comment yet.