Re:Cheatsheet for the modern JavaScript
by Fifer82 on Sunday October 01, 2017 @08:36AM
(#15377567)
I also don't get this point (I am not the brightest bulb :D)
In Typescript anyway, `const` means I am not allowed to reassign. Attempting to change it just will cause compiler warnings. If you mean that, ignore Typescript and tooling, and that once the code is in the browser executing, then consts can be changed.... Who cares about that?
In Typescript anyway, `const` means I am not allowed to reassign. Attempting to change it just will cause compiler warnings. If you mean that, ignore Typescript and tooling, and that once the code is in the browser executing, then consts can be changed.... Who cares about that?