Constants Ecmascript 6 Hoisting Javascript Let Are Variables Declared With Let Or Const Hoisted? May 25, 2024 Post a Comment I have been playing with ES6 for a while and I noticed that while variables declared with var are h… Read more Are Variables Declared With Let Or Const Hoisted?
Constants Javascript Why Object Const Can Be Changed After Definition In Javascript? May 27, 2023 Post a Comment In JavaScript: const a = 6; a = 2; // Error const o = {}; o = 7; // Error o.a = 5; // Good. Why? … Read more Why Object Const Can Be Changed After Definition In Javascript?
Constants Javascript Why Object Const Can Be Changed After Definition In JavaScript? October 31, 2022 Post a Comment In JavaScript: const a = 6; a = 2; // Error const o = {}; o = 7; // Error o.a = 5; // Good. Why? … Read more Why Object Const Can Be Changed After Definition In JavaScript?