Leanpub Header

Skip to main content

You Don't Know JS Yet: The Unbooks

Previously Unpublished 2nd-Ed Book Content (Raw & Uncut)

You Don’t Know JS: The Unbooks is the final, draft-edition release of the second edition series—featuring the complete but unedited drafts of Book 3: Objects & Classes and Book 4: Types & Grammar, plus two bonus chapters reflecting on the “lost” books that were never written. This is the raw, honest conclusion to You Don’t Know JS Yet—a gift for readers who still care about deeply understanding JavaScript.

The author is letting you choose the price you pay for this book!

Pick Your Price...

Buying multiple copies for your team? See below for a discount!

PDF
EPUB
WEB
183
Readers
421
Pages
About

About

About the Book

You Don’t Know JS Yet: The Unbooks is a special, draft-edition release collecting the final remaining content from the second edition of the You Don’t Know JS Yet series. It includes the complete, previously unpublished drafts of Book 3: Objects & Classes and Book 4: Types & Grammar—books that were written in full but never formally edited or released for publication.

These chapters reflect the same in-depth exploration and care you’ve come to expect from the series, just presented here in their raw, unedited, unpolished form. They’re readable, structurally complete, and technically solid—offered honestly as-is.

This release also includes two bonus chapters on the “lost” volumes that were never written: Book 5: Sync & Async and Book 6: ES.Next & Beyond. These reflective essays explain what those books were meant to be, why they were ultimately abandoned, and what insights remain worth sharing. This is a project for the completists, the curious, and anyone who still cares deeply about understanding JavaScript, not just using it.

Price

Pick Your Price...

Minimum price

$4.99

$9.99

You pay

$9.99

Author earns

$7.99
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Team Discounts

Team Discounts

Get a team discount on this book!

  • Up to 5 members

    Minimum price
    $22.00
    Suggested price
    $45.00
  • Up to 10 members

    Minimum price
    $40.00
    Suggested price
    $80.00

Author

About the Author

Kyle Simpson

Kyle Simpson is a web-oriented software engineer, widely acclaimed for his "You Don't Know JS" book series and nearly 1M hours viewed of his online courses. Kyle's superpower is asking better questions, who deeply believes in maximally using the minimally-necessary tools for any task. As a "human-centric technologist", he's passionate about bringing humans and technology together, evolving engineering organizations towards solving the right problems, in simpler ways. Kyle will always fight for the people behind the pixels.

Leanpub Podcast

Episode 166

An Interview with Kyle Simpson

Contents

Table of Contents

Preface

  1. Objects & Classes (Unbook 3)

Chapter 1: Object Foundations (Objects & Classes)

  1. About This Book
  2. Objects As Containers
  3. NOTE
  4. TIP
  5. Defining Properties
  6. WARNING
  7. NOTE
  8. NOTE
  9. NOTE
  10. Accessing Properties
  11. WARNING
  12. NOTE
  13. Assigning Properties
  14. WARNING
  15. Deleting Properties
  16. Determining Container Contents
  17. Temporary Containers
  18. Containers Are Collections Of Properties

Chapter 2: How Objects Work (Objects & Classes)

  1. Property Descriptors
  2. WARNING
  3. Object Sub-Types
  4. NOTE
  5. WARNING
  6. Object Characteristics
  7. Extending The MOP
  8. [[Prototype]] Chain
  9. WARNING
  10. NOTE
  11. NOTE
  12. WARNING
  13. Objects Behavior

Chapter 3: Classy Objects (Objects & Classes)

  1. When Should I Class-Orient My Code?
  2. Keep It classy
  3. NOTE
  4. NOTE
  5. Class Instance this
  6. TIP
  7. Class Extension
  8. WARNING
  9. NOTE
  10. Static Class Behavior
  11. NOTE
  12. NOTE
  13. WARNING
  14. TIP
  15. Private Class Behavior
  16. TIP
  17. WARNING
  18. Class Example
  19. NOTE

Chapter 4: This Works (Objects & Classes)

  1. This Aware
  2. This Is It!
  3. NOTE
  4. WARNING
  5. NOTE
  6. TIP
  7. WARNING
  8. TIP
  9. An Arrow Points Somewhere
  10. NOTE
  11. NOTE
  12. TIP
  13. TIP
  14. NOTE
  15. TIP
  16. NOTE
  17. NOTE
  18. Variations
  19. NOTE
  20. Stay Aware

Chapter 5: Delegation (Objects & Classes)

  1. Preamble
  2. What’s A Constructor, Anyway?
  3. TIP
  4. Ditching Class Thinking
  5. Delegation Illustrated
  6. TIP
  7. Composing Peer Objects
  8. Why This?
  9. Types & Grammar (Unbook 4)

Chapter 1: Primitive Values (Types & Grammar)

  1. Value Types
  2. WARNING
  3. TIP
  4. Empty Values
  5. NOTE
  6. NOTE
  7. WARNING
  8. WARNING
  9. Boolean Values
  10. String Values
  11. NOTE
  12. TIP
  13. NOTE
  14. NOTE
  15. TIP
  16. TIP
  17. Number Values
  18. NOTE
  19. WARNING
  20. NOTE
  21. NOTE
  22. NOTE
  23. TIP
  24. NOTE
  25. TIP
  26. WARNING
  27. BigInteger Values
  28. WARNING
  29. WARNING
  30. NOTE
  31. Symbol Values
  32. WARNING
  33. NOTE
  34. Primitives Are Built-In Types

Chapter 2: Primitive Behaviors (Types & Grammar)

  1. Primitive Immutability
  2. WARNING
  3. NOTE
  4. NOTE
  5. Primitive Assignments
  6. NOTE
  7. String Behaviors
  8. NOTE
  9. NOTE
  10. NOTE
  11. NOTE
  12. NOTE
  13. NOTE
  14. NOTE
  15. WARNING
  16. Number Behaviors
  17. NOTE
  18. TIP
  19. NOTE
  20. WARNING
  21. WARNING
  22. Primitives Are Foundational

Chapter 3: Object Values (Types & Grammar)

  1. Types of Objects
  2. Plain Objects
  3. Fundamental Objects
  4. WARNING
  5. NOTE
  6. Other Built-in Objects
  7. Arrays
  8. Regular Expressions
  9. Functions
  10. Proposed: Records/Tuples

Chapter 4: Coercing Values (Types & Grammar)

  1. Coercion: Explicit vs Implicit
  2. Abstracts
  3. WARNING
  4. WARNING
  5. NOTE
  6. WARNING
  7. WARNING
  8. Concrete Coercions
  9. NOTE
  10. NOTE
  11. WARNING
  12. WARNING
  13. WARNING
  14. WARNING
  15. WARNING
  16. WARNING
  17. Coercion Corner Cases
  18. Type Awareness
  19. NOTE
  20. NOTE
  21. WARNING
  22. NOTE
  23. TIP
  24. TIP
  25. What’s Left?
  26. Sync & Async (Unbook 5)

Chapter 1: Lost Book (Sync & Async)

  1. The Plan
  2. The Reality
  3. That said…

Chapter 2: Random Musings (Sync & Async)

  1. Synchronous Iteration
  2. Asynchronous Iteration
  3. ES.Next & Beyond (Unbook 6)

Chapter 1: Lost Book (ES.Next & Beyond)

  1. However…

Chapter 2: The Bright Parts (ES.Next & Beyond)

  1. Nullish
  2. Warning
  3. Synchronous Iteration Helpers
  4. Readable Numbers
  5. Named Regex Capture Groups
  6. Promise Expansions
  7. Second Edition Thank Yous

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub