diff options
Diffstat (limited to 'files/zh-tw/web/javascript/guide/functions/index.html')
-rw-r--r-- | files/zh-tw/web/javascript/guide/functions/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/javascript/guide/functions/index.html b/files/zh-tw/web/javascript/guide/functions/index.html index af19983b6f..b2b28a2cff 100644 --- a/files/zh-tw/web/javascript/guide/functions/index.html +++ b/files/zh-tw/web/javascript/guide/functions/index.html @@ -109,7 +109,7 @@ console.log(factorial(3)); <p>函式必須在呼叫區塊的可視範圍內,但函數也可以宣告在使用處的下面,如下列範例:</p> -<pre>console.log(square(5)); +<pre class="brush: js">console.log(square(5)); /* ... */ function square(n){return n*n} </pre> |