Book description
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. This concise yet in-depth guide takes you inside scope and closures, two core concepts you need to know to become a more efficient and effective JavaScript programmer. You’ll learn how and why they work, and how an understanding of closures can be a powerful part of your development skillset.
Like other books in the "You Don’t Know JS" series, Scope and Closures dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can achieve true JavaScript mastery.
- Learn about scope, a set of rules to help JavaScript engines locate variables in your code
- Go deeper into nested scope, a series of containers for variables and functions
- Explore function- and block-based scope, “hoisting”, and the patterns and benefits of scope-based hiding
- Discover how to use closures for synchronous and asynchronous tasks, including the creation of JavaScript libraries
Publisher resources
Product information
- Title: You Don't Know JS: Scope & Closures
- Author(s):
- Release date: March 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449335588
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Secrets of the JavaScript Ninja, Second Edition
Summary More than ever, the web is a universal platform for all types of applications, and …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …