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 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 symbolUnderstand why JavaSript’s unique array, string, and number characteristics may delight or confound youLearn how natives provide object wrappers around primitive valuesDive into the coercion controversy—and learn why this feature is useful in many casesExplore various nuances in JavaScript syntax, involving statements, expressions, and other features 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 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, defining the problems of coercion, demonstrating why types work, and showing developers how to take advantage of those features. The type system in JavaScript is subject to several misconceptions. Many developers believe that JavaScript has no types, but that's not the case. JavaScript uses a number of types behind the scenes, and has a sophisticated system of implicit and explicit coercion between the various types. This book gives you the complete story. 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. Armed with this knowledge, you can achieve true JavaScript mastery.