You Don't Know JS: Types & Grammar
Publisher: O'Reilly Media
Final Release Date: January 2015
Pages: 198

No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. As part of the "You Don’t Know JS" series, this compact guide explores JavaScript types in greater depth than previous treatments by looking at type coercion problems, demonstrating why types work, and showing you how to take advantage of these features.

Like other books in this series, You Don’t Know JS: Types & Grammar dives into trickier parts of the language that many JavaScript programmers simply avoid or assume don’t exist (like types). Armed with this knowledge, you can achieve true JavaScript mastery.

With this book you will:

  • Get acquainted with JavaScript’s seven types: null, undefined, boolean, number, string, object, and symbol
  • Understand why JavaSript’s unique array, string, and number characteristics may delight or confound you
  • Learn how natives provide object wrappers around primitive values
  • Dive into the coercion controversy—and learn why this feature is useful in many cases
  • Explore various nuances in JavaScript syntax, involving statements, expressions, and other features
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyYou Don't Know JS: Types & Grammar

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top

(2 of 2 customers found this review helpful)


Just brilliant in every regard

By Simon Welker

from Nuremberg

About Me Developer

Verified Reviewer


  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written


    Best Uses

    • Intermediate

    Comments about oreilly You Don't Know JS: Types & Grammar:

    I don't think I've ever read a book this good on a programming topic. Everything was explained well, to the point, and extremely interesting. This, in my opinion, tops the first two parts of the series even though it's an early release, as I didn't feel like having to read some paragraphs twice (which I expect to often happen with in-depth discussions of unknown/unexpected technical issues). I was left with easily understanding many 'wtf' examples on JS that float around the internet outside of the examples given in the book, and getting a lot of ideas on how to make my code look nicer, and work better.

    Displaying review 1

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $18.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook: $24.19
    Print: $21.99