Notes
A personal collection of thoughts about software engineering, psychology, and philosophy.
- Understanding Temporal Dead Zone (TDZ) in JavaScriptWhen learning JavaScript, the Temporal Dead Zone (TDZ) is one of those concepts that feels confusing at first — especially if you think of it as “the time before a variable is declared.” That definition sounds logical, but it turns out to be slightly wrong.
- Why JavaScript Has Two Categories of Data TypesOne question that comes up naturally when learning JavaScript is: why does JavaScript even have two kinds of data types? Why not just treat everything the same?