You Don't Know JS: Scope and Closures

You Don't Know JS: Scope and Closures

by Kyle Simpson
     
 

View All Available Formats & Editions

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

Overview

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

Product Details

ISBN-13:
9781449335588
Publisher:
O'Reilly Media, Incorporated
Publication date:
03/24/2014
Pages:
98
Sales rank:
227,618
Product dimensions:
5.90(w) x 8.90(h) x 0.30(d)

Meet the Author

Kyle Simpson is an Open Web Evangelist from Austin, TX. He's passionate about JavaScript, HTML5, real-time/peer-to-peer communications, and web performance. Otherwise, he's probably bored by it. Kyle is an author, workshop trainer, tech speaker, and avid OSS community member.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >