You Don’t Know JS: Types & Grammar
- Length: 198 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-02-21
- ISBN-10: 1491904194
- ISBN-13: 9781491904190
- Sales Rank: #285800 (See Top 100 Books)
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
Chapter 1. Types
Chapter 2. Values
Chapter 3. Natives
Chapter 4. Coercion
Chapter 5. Grammar
Appendix A. Mixed Environment JavaScript
Appendix B. Acknowledgments
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: You Don’t Know JS: Types & Grammar
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.