diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:06 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 711e090fcd2bc3e79231a75f88fc75563f135ca2 (patch) | |
tree | e0b8abde182a5a499795872caf26d9bd4f1d1932 /files/zh-cn/web/javascript/closures/index.html | |
parent | b6a647eec4df2ae42be842b33af92dc7fc8b50b7 (diff) | |
download | translated-content-711e090fcd2bc3e79231a75f88fc75563f135ca2.tar.gz translated-content-711e090fcd2bc3e79231a75f88fc75563f135ca2.tar.bz2 translated-content-711e090fcd2bc3e79231a75f88fc75563f135ca2.zip |
remove `summary` and `seoSummary` class for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/closures/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/closures/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/closures/index.html b/files/zh-cn/web/javascript/closures/index.html index 29356fb61a..3bf409fe66 100644 --- a/files/zh-cn/web/javascript/closures/index.html +++ b/files/zh-cn/web/javascript/closures/index.html @@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Closures --- <div>{{jsSidebar("Intermediate")}}</div> -<p class="summary">一个函数和对其周围状态(<strong>lexical environment,词法环境</strong>)的引用捆绑在一起(或者说函数被引用包围),这样的组合就是<strong>闭包</strong>(<strong>closure</strong>)。也就是说,闭包让你可以在一个内层函数中访问到其外层函数的作用域。在 JavaScript 中,每当创建一个函数,闭包就会在函数创建的同时被创建出来。</p> +<p>一个函数和对其周围状态(<strong>lexical environment,词法环境</strong>)的引用捆绑在一起(或者说函数被引用包围),这样的组合就是<strong>闭包</strong>(<strong>closure</strong>)。也就是说,闭包让你可以在一个内层函数中访问到其外层函数的作用域。在 JavaScript 中,每当创建一个函数,闭包就会在函数创建的同时被创建出来。</p> <h2 id="词法作用域"><strong>词法作用域</strong></h2> |