explaingit

cezaraugusto/you-dont-know-js

5,827JavaScriptAudience · developerComplexity · 1/5Setup · easy

TLDR

A Brazilian Portuguese translation of Kyle Simpson's 'You Don't Know JS' book series, six free books that explain how JavaScript actually works under the hood, from scope and closures to async and ES6.

Mindmap

mindmap
  root((you-dont-know-js))
    Books
      Up and Going
      Scope and Closures
      this and Prototypes
      Async and Performance
    Topics
      How variables work
      Prototype inheritance
      ES6 features
    Audience
      JS learners
      Portuguese readers
    Format
      Markdown files
      Free to read online
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

Things people build with this

USE CASE 1

Read a deep-dive JavaScript reference in Brazilian Portuguese to understand how the language really works.

USE CASE 2

Study scope, closures, and prototypes to stop guessing why JavaScript behaves unexpectedly.

USE CASE 3

Use as a free alternative to buying the O'Reilly print or ebook editions of You Don't Know JS.

Tech stack

JavaScriptMarkdown

Getting it running

Difficulty · easy Time to first run · 5min

No installation needed, read the Markdown files directly online or after cloning the repo.

License terms for the translation are not described, the original series is published by O'Reilly with free online reading.

In plain English

This repository is a Brazilian Portuguese translation of the "You Don't Know JS" book series, originally written by Kyle Simpson. The series is a set of six books that go deep into how JavaScript actually works at a fundamental level, covering topics that many programmers use daily without fully understanding. The six books in the series are: "Up and Going" (an introduction to the language), "Scope and Closures" (how JavaScript decides where variables live and can be accessed), "this and Object Prototypes" (how the 'this' keyword works and how objects inherit from each other), "Types and Grammar" (JavaScript's data types and the rules that govern them), "Async and Performance" (how JavaScript handles tasks that take time, like network requests), and "ES6 and Beyond" (features added in modern versions of the language). The original English version of this series is published by O'Reilly and can be read free online, with print and ebook versions available for purchase. This repository contains that same content translated into Portuguese for readers who prefer that language. The series grew out of in-person JavaScript training workshops taught by the original author. It is aimed at people who already write some JavaScript but want to understand the underlying mechanics rather than just following patterns they have seen work before. The tone is direct and technical, not introductory. There is no software to install or run here. The repository is a collection of text files (Markdown) that you read. If you want to contribute a correction or improvement to the translation, the project accepts pull requests.

Copy-paste prompts

Prompt 1
I'm reading 'Scope and Closures' from You Don't Know JS. Can you walk me through how JavaScript's lexical scope works with a concrete example?
Prompt 2
Based on the 'this and Object Prototypes' book from You Don't Know JS, explain the four rules that determine what 'this' refers to, with one code example each.
Prompt 3
I'm on the 'Async and Performance' chapter of You Don't Know JS. Explain how Promises fix the problems with callbacks, with a before-and-after code example.
Prompt 4
I finished 'Types and Grammar' from You Don't Know JS. Quiz me on JavaScript type coercion edge cases and explain where I get them wrong.
Prompt 5
Summarize what the 'ES6 and Beyond' book from You Don't Know JS says about arrow functions vs regular functions and when to use each.
Open on GitHub → Explain another repo

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

Verify against the repo before relying on details.