Menu
About me Kontakt

In the article 'The Const Deception' by Josh Comeau, the author focuses on the use of the 'const' keyword in JavaScript. He explains how 'const' does not mean that a variable is immutable, but rather that the reference to the value cannot be changed. Through examples, Comeau illustrates how properties of objects declared as 'const' can still be modified, shedding light on common misunderstandings that can lead to errors in coding. The article discusses typical misconceptions related to 'const' that may confuse programmers, especially those new to JavaScript. In conclusion, Comeau emphasizes the importance of understanding the difference between mutability and reference for writing well-structured applications in JavaScript.