JavaScript Fundamentals

Start here if you are new to JavaScript. Each post builds on the one before it, from variables to how this and new work.

9 parts · about 36 minutes of reading

  1. Part 1Understanding Variables and Data Types in JavaScript

    Real-life box analogy to introduce variables intuitively All 3 declaration types (var, let, const) with clear examples and when to use each Comparison

    Mar 7, 2026 · 4 min read
  2. Part 2JavaScript Operators: The Basics You Need to Know

    JavaScript operators explained: arithmetic, comparison, logical and assignment operators, with == vs === and a short practice exercise.

    Mar 14, 2026 · 4 min read
  3. Part 3Control Flow in JavaScript: If, Else, and Switch Explained

    How JavaScript decides which code runs: if, else if, else and switch statements, with examples and when to use each.

    Mar 7, 2026 · 4 min read
  4. Part 4Function Declaration vs Function Expression: What's the Difference?

    Function declarations vs function expressions in JavaScript: syntax, hoisting, when to use each, and a quick look at arrow functions.

    Mar 14, 2026 · 3 min read
  5. Part 5Arrow Functions in JavaScript: A Simpler Way to Write Functions

    An arrow function is just a shorter, more modern way to write a function in JavaScript. That's honestly all it is. It was introduced in ES6 (2015) and

    Mar 7, 2026 · 4 min read
  6. Part 6Understanding Objects in JavaScript — A Developer's Exploration

    JavaScript objects from the ground up: key-value pairs, creating objects, reading, updating and deleting properties, and looping through keys.

    Mar 7, 2026 · 5 min read
  7. Part 7Understanding the `this` Keyword in JavaScript: What It Is and How Calling Context Controls It

    Learn how the `this` keyword works in JavaScript — global scope, object methods, callbacks, and arrow functions — with clear runnable examples.

    May 5, 2026 · 4 min read
  8. Part 8The Magic of this, call(), apply(), and bind() in JavaScript

    How this works in JavaScript functions and objects, and how call(), apply() and bind() let you control it, with a side-by-side comparison and exercises.

    Mar 14, 2026 · 5 min read
  9. Part 9The new Keyword in JavaScript: What Actually Happens

    What JavaScript does step by step when you call a function with new: object creation, prototype linking, binding this, and what goes wrong without new.

    Apr 6, 2026 · 3 min read

Start with part 1 →