aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/function/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/javascript/reference/global_objects/function/index.html
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/function/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/function/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/index.html
index 217ac78e3d..5358d39627 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/function/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/function/index.html
@@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function
<p>使用 <code>Function</code> 构造器生成的 <code>Function</code> 对象是在函数创建时解析的。这比你使用<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/function">函数声明</a>或者<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/function">函数表达式</a>并在你的代码中调用更为低效,因为使用后者创建的函数是跟其他代码一起解析的。</p>
-<p>所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval"><span style="display: none;"> </span></a></p>
+<p>所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval"><span class="hidden"> </span></a></p>
<p>以调用函数的方式调用 <code>Function</code> 的构造函数(而不是使用 <code>new</code> 关键字) 跟以构造函数来调用是一样的。</p>