You Don't Know JS Yet: Scope and Closures, 2nd Edition

You Don't Know JS Yet: Scope and Closures, 2nd Edition

简介:

无论你对JavaScript有多少经验,你都不可能完全理解这门语言。这个简明而深入的指南将带你深入了解范围和闭包,这两个核心概念是你需要知道的,以成为一个更高效和有效的JavaScript程序员。您将了解它们的工作方式和原因,以及对闭包的理解如何成为您开发技能的重要组成部分。

像 “你不知道JS” 系列中的其他书籍一样,范围和闭包深入到许多JavaScript程序员简单避免的语言的棘手部分。有了这些知识,你就能掌握真正的JavaScript。

了解范围,这是一组帮助JavaScript引擎在代码中定位变量的规则。深入了解嵌套作用域,这是一系列用于变量和函数的容器。探索基于功能和块的范围,“提升”,以及基于范围的隐藏的模式和好处。如何有效地使用DOM与浏览器交互了解如何将闭包用于同步和异步任务,包括创建JavaScript库。

英文简介:

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.How to use the DOM effectively to interact with browsersDiscover how to use closures for synchronous and asynchronous tasks, including the creation of JavaScript libraries.

书名
You Don't Know JS Yet: Scope and Closures, 2nd Edition
译名
你还不知道 JS:作用域和闭包,第二版
语言
英语
年份
2014
页数
98页
大小
5.77 MB
下载
pdf iconYou Don't Know JS Yet: Scope and Closures, 2nd Edition.pdf
密码
65536

最后更新:2025-04-12 23:57:51

←Lecture Notes for the Algorithms

→JavaScript: The First 20 Years