“An excel ent look at the core JavaScript fundamentals that copy THE YOU DON’T KNOW JS SERIES INCLUDES:
and paste and JavaScript toolkits don’t and could never teach you.”
K
—DAVID WALSH, Senior Web Developer, Mozilla
Up & Going
YLE SIMPS
Scope & Closures
this & Object Prototypes
Types & Grammar
Async & Performance
ON
KYLE SIMPSON
ES6 & Beyond
YOU DON’T KNO
TYPES & I GRAMMAR
TYPES & I
No matter how much experience you have with JavaScript, odds are you don’t ful y understand the W J
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 AVA
types work, and showing you how to take advantage of these features.
SCRIP
GRAMMAR
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).
T
Armed with this knowledge, you can achieve true JavaScript mastery.
TYPE
WITH THIS BOOK YOU WILL:
■ Get acquainted with JavaScript’s seven types: null, undefined, boolean, S & GR
number, string, object, and symbol
■ Understand why JavaScript’s unique array, string, and number characteristics may delight or confound you
AMMAR
■ 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
KYLE SIMPSON is an Open Web evangelist who’s passionate about all things JavaScript. He’s an author, workshop trainer, tech speaker, and OSS contributor/leader.
JAVASCRIPT
JAVASCRIPT
Twitter: @oreillymedia
facebook.com/oreilly
US $24.99
CAN $28.99
ISBN: 978-1-491-90419-0
oreilly.com
YouDontKnowJS.com
“An excel ent look at the core JavaScript fundamentals that copy THE YOU DON’T KNOW JS SERIES INCLUDES:
and paste and JavaScript toolkits don’t and could never teach you.”
K
—DAVID WALSH, Senior Web Developer, Mozilla