git404hub

getify/you-dont-know-js

184,461Audience · developerComplexity · 1/5MaintainedSetup · easy

tl;dr

A free online book series that teaches how JavaScript actually works under the hood, covering scope, closures, objects, types, async behavior, and modern language features.

vibe map

mindmap
  root((repo))
    What it does
      Deep JavaScript fundamentals
      Six progressive books
      Free online reading
    Topics covered
      Scope and closures
      Objects and classes
      Types and grammar
      Async and sync
    Format
      Second edition in progress
      First edition archived
      Online manuscript
    Audience
      Working JavaScript devs
      Self-taught programmers
      Those seeking mastery
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what people make with this

VIBE 1

Understand how JavaScript scope and closures actually work instead of relying on intuition or trial-and-error.

VIBE 2

Learn the real semantics of objects, classes, and type coercion to write more predictable code.

VIBE 3

Study asynchronous JavaScript patterns and how promises and async/await fit into the language's execution model.

VIBE 4

Prepare for advanced JavaScript interviews or technical discussions by mastering language fundamentals.

stack

JavaScript

setup vibes

Difficulty · easy time til it works · 5min
License could not be detected automatically. Check the repository's LICENSE file before use.

in plain english

You Don't Know JS Yet is a series of books that go deep into how the JavaScript language actually works under the hood, written by Kyle Simpson. The repository is where the second edition is being written and shared, and it also keeps the finished first edition available on a separate branch. JavaScript is the language that runs in web browsers and powers most modern websites and many backend systems, and these books are aimed at developers who already use it but want to understand its core mechanisms properly rather than treating them as magic. The series is organized as separate small books, each focused on one topic, intended to be read in this order: Get Started, Scope & Closures, Objects & Classes, Types & Grammar, Sync & Async, and ES.Next & Beyond. Together they walk through the language's foundations and progressively cover more advanced subjects like asynchronous behavior and modern features. The second edition is described as a work in progress. You'd use this if you write JavaScript and want to genuinely understand things that other resources gloss over, like how scope and closures actually behave, how object and class semantics work, how synchronous and asynchronous execution interact, and what's coming in newer versions of the language. The books are available to read online for free directly from the repo, and the second edition is being self-published through GetiPub for sale as physical books. The repository itself is essentially the manuscript and supporting material for the book series, not a software project.

prompts (copy fr)

prompt 1
I'm reading 'You Don't Know JS Yet' to understand closures better. Can you explain how the scope chain works in this code example?
prompt 2
How should I approach reading the You Don't Know JS series if I already know JavaScript syntax but want deeper understanding?
prompt 3
I'm confused about 'this' binding in JavaScript. Where in the You Don't Know JS books would I find a thorough explanation?
prompt 4
Can you help me understand the difference between synchronous and asynchronous execution using concepts from the You Don't Know JS series?
peek the repo → explain another one

← getify on gitmyhub — every repo by this author, as a profile.

double-check against the repo, no cap.