News for hackers. Stuff that matters.
Re:JavaScript variables: var and let and const by leftyted on Friday March 06, 2020 @02:37PM (#22506535)
symbol/boolean/string/number are immutable and work how you'd expect with const because they are immutable. Unsure if that makes them "value types".

I think the article is a bit silly. Calling it "const" was a mistake but that's a naming issue. JS's "const" is the same as Java's "final," right? It communicates something useful.

There are no comments on this comment yet.