diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/function')
-rw-r--r-- | files/zh-cn/web/javascript/reference/operators/function/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/function/index.html b/files/zh-cn/web/javascript/reference/operators/function/index.html index 275ea3a02a..50ebd46d2c 100644 --- a/files/zh-cn/web/javascript/reference/operators/function/index.html +++ b/files/zh-cn/web/javascript/reference/operators/function/index.html @@ -42,7 +42,7 @@ translation_of: Web/JavaScript/Reference/Operators/function <p>JavaScript中的函数表达式没有提升,不像函数声明,你在定义函数表达式之前不能使用函数表达式:</p> -<pre class="brush: js"><code><font color="#333333" face="Open Sans, arial, sans-serif" size="3"> </font>notHoisted(); // TypeError: notHoisted is not a function +<pre class="brush: js"><code> notHoisted(); // TypeError: notHoisted is not a function var notHoisted = function() { console.log('bar'); |