Crazy prototypes in JavaScript

Crazy prototypes in JavaScript

Managing prototypes manually feels heavy on your head because you are forced to write fragmented code across different lines, whereas classes let us group everything inside a single, clean block.

In JavaScript, Variables Don’t Have Types — Values Do

In JavaScript, Variables Don’t Have Types — Values Do

While studying JavaScript deeply, I came across an idea explained by Kyle Simpson in You Don’t Know JS: Variables don’t have types. Values have types. At first, this statement feels counter-intuitive, especially if you come from languages like Java, C++, or TypeScript. But understanding this concept is crucial for truly grasping how JavaScript works. Let’s […]