The Leading eBooks Store Online 4,410,490 members ⚫ 1,532,108 ebooks

New to

Learn more

You Don't Know JS: Scope & Closures

You Don't Know JS: Scope & Closures by Kyle Simpson
Buy this eBook
US$ 15.99
(If any tax is payable it will be calculated and shown at checkout.)

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
O'Reilly Media; March 2014
98 pages; ISBN 9781449335540
Read online, or download in DRM-free EPUB or DRM-free PDF format
Title: You Don't Know JS: Scope & Closures
Author: Kyle Simpson
  • News
Editorial: A Spotlight on Interesting JavaScript Projects - SitePoint
Mon, 19 Sep 2016 13:55:55 -0700
SitePointEditorial: A Spotlight on Interesting JavaScript ProjectsSitePointConky modules are written in the Lua scripting ...
Kitney Pakistani thhey? | The Daily Star - The Daily Star
Mon, 17 Oct 2016 11:19:29 -0700
The Daily StarKitney Pakistani thhey? | The Daily StarThe Daily StarYou can frame this question as when did Indian journalism ...
Improve Your JavaScript Learning with Fun Experiments - SitePoint
Mon, 26 Sep 2016 14:03:28 -0700
SitePointImprove Your JavaScript Learning with Fun ExperimentsSitePointThis article was peer reviewed by Mark Brown. Thanks to ...