Skip to content

Latest commit

 

History

History
17 lines (7 loc) · 1.01 KB

Scope_Closure_Video.md

File metadata and controls

17 lines (7 loc) · 1.01 KB

[视频]深入理解 Scope 与 闭包

In this Learnable video you’ll learn about variable scope in JavaScript. How, when, and where you declare a variable dictates how you can access that variable later in your code. We’ll also see how understanding variable scope leads on to the extremely powerful concept of closures.

在这个视频中, 您将了解JavaScript的变量作用域(variable scope)。声明一个变量的位置,方式和时机( How, when, and where)决定了在其他地方是否能看见此变量。视频中还将看到如何理解变量范围并了解非常强大的闭包(closures)概念。

视频链接地址: https://www.youtube.com/watch?v=iSlSxDNarDY

原文链接: http://www.sitepoint.com/understanding-variable-scope-closures-without-losing-mind/

作者: 铁锚 http://blog.csdn.net/renfufei

日期: 2015年07月14日