Skip to content
JSJavaScript: Level Up

JavaScript Book: From Using to Understanding

A technical, practical book to go from “I know how to use JavaScript” to truly understanding how it works. Author: David Arturo Arroyave Pérez (Manizales, Colombia)

Why a book, when there are so many videos?

Section titled “Why a book, when there are so many videos?”

There are thousands of videos about JavaScript. I’ve watched them too. The problem is that videos are watched; books are done. A video makes you feel productive in 40 minutes; a text forces you to wrestle with every idea, write the code yourself, and discover what you didn’t actually understand.

This book complements videos; it doesn’t replace them: for any difficult topic, the best recipe is watch the video, then come here to truly understand it.

I didn’t write it in a weekend of inspiration. It was born from my own study notes. I really like JavaScript — I genuinely enjoy the language, I have fun wrestling with it — and as I studied it, my notes kept growing until I thought: “this isn’t a note anymore, it’s a chapter.” This book is exactly that: my study notes, organized and explained, shared.

That has an honest consequence: this is not an academic book written from an ivory tower. It’s material written by someone who codes, who made plenty of mistakes with this language, and who documented the journey from the most basic concepts to the most advanced ones.

Almost all material on the internet teaches you to use JavaScript: “write this and it works.” This book goes somewhere else: understanding how it works under the hood.

  • Not just how to declare a function, but what the lexical environment is and why closures work.
  • Not just async/await, but what happens in the stack, the microtask queue, and the Event Loop.
  • Not just classes, but the prototype chain underneath.

When you understand the mechanism, you stop memorizing syntax: the syntax becomes obvious.

At university — at least in Colombia — most of us were taught to program with Java or C. I was taught Java: I’m no expert, but I have the foundations. Python I learned later, on my own.

That’s why, throughout this book, you’ll find “Python Connection” and “Java Connection” boxes. The idea is simple: if you already know one of those languages, every JavaScript concept will feel lighter because you can compare it with something already in your head — where it’s the same, and more importantly, where the equivalence breaks. And if your path goes the other way — from JavaScript into Python or Java — the same boxes let you run the translation in reverse.

If neither language rings a bell, no problem: the boxes are optional, and every chapter reads complete without them.

For anyone who has already written some JavaScript — even a little — and wants to level up: from the language fundamentals to patterns, security, and the most modern APIs (ES2025–ES2026).

  1. Read slowly, with your editor open. Every example is meant to be run and broken by you.
  2. Do the exercises at the end of each chapter.
  3. Come back: the second read of a chapter you’ve already “mastered” is where real learning happens.
  4. Explain it: if you can’t explain a concept in your own words, it isn’t yours yet.

This book was originally written in Spanish, from my personal study notes — Spanish is my first language. The English edition exists thanks to a careful translation, but you may still find an error — in translation, in technical content, or a plain typo.

If you do, you can fix it directly: every page has an “Edit page” link that takes you to the source file on the repository, where you can propose the change through a Pull Request. The book gets better with every correction, no matter how small.

Full-stack developer from Manizales, Colombia. I learn by building, breaking things, and writing down what I learned. My JavaScript study notes grew until they became this book.

The book is free and will stay that way. If it helped you, you can buy me a coffee — it’s optional, and appreciated either way. ☕

To the JavaScript community at large: to the authors of the documentation, specifications, and books listed in the bibliography, without which these notes would not exist.


Let’s start from the beginning → Chapter 1: Modern functions