News for hackers. Stuff that matters.
Re:JavaScript variables: var and let and const by winrid on Saturday March 07, 2020 @03:24AM (#22510542)
They're not really constant though, if you wanna be really pedantic. You can modify a const object for example.
Re:JavaScript variables: var and let and const by pfdzm on Saturday March 07, 2020 @03:51AM (#22510665)
It’s constant because it cannot be reassigned - but it is not immutable.
Re:JavaScript variables: var and let and const by winrid on Saturday March 07, 2020 @03:59AM (#22510691)
Right.