Skip to main content

You Don’t Know JS Yet: Get Started

Welcome to the first book in the You Don’t Know JS Yet series! This book is your foundation for the journey ahead.
Even if you’ve already written a lot of JavaScript, this book should not be skipped. Take your time to fully process the material here. A good start always depends on a solid first step.

About This Book

I emphasize the word journey because knowing JS is not a destination, it’s a direction. No matter how much time you spend with the language, you will always be able to find something else to learn and understand a little better. So don’t look at this book as something to rush through for a quick achievement. Instead, patience and persistence are best as you take these first few steps.
This book is not intended as a beginner/intro book. It’s written assuming you already have familiarity with JS over at least several months of experience before moving on in YDKJSY.

What You’ll Learn

This book lays out a high-level map of what you will find as you dig into and study JS with the YDKJSY books. In particular, you’ll explore:

Language Foundation

Understand what JavaScript really is, its history, and how it’s organized and maintained by TC39.

Core Syntax

Survey the major topic areas of JS syntax, patterns, and behaviors to get a better feel for the language.

Deep Roots

Dig into the lower-level root characteristics of JS including iteration, closure, this, and prototypes.

The Three Pillars

All of JavaScript is founded on three foundational pillars:
1

Scope & Closures

How variables are organized and accessed, and how functions remember their scope.
2

Prototypes & Objects

How objects link together and cooperate through the prototype chain.
3

Types & Coercion

How JavaScript manages value types and converts between them.

Getting Started

Ready to begin? Start with the Foreword, then dive into the chapters:

Foreword

Brian Holt’s perspective on why this series matters

Chapter 1: What Is JavaScript?

Build a foundation for understanding JS’s identity and process

Chapter 2: Surveying JS

Survey the major syntax and features of the language

Chapter 3: Digging to the Roots

Explore iteration, closure, this, and prototypes

Chapter 4: The Bigger Picture

See how the three pillars organize the entire language

Appendix A: Exploring Further

Dig deeper into values, functions, and prototypes

Appendix B: Practice!

Practice exercises to solidify your understanding
Take your time with each chapter. Even still, you’ll probably finish with remaining questions. That’s OK, because there’s a whole book series ahead of you to keep exploring!

Purchase the Book

You can purchase the ebook/PDF from Leanpub to support the author and get a portable version of this content.

Build docs developers (and LLMs) love