mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-02-27 09:32:01 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<p>在函数递归调用的时候(在某一刻同一个函数运行了多次,也就是有多套实参),那么 <code>arguments</code> 属性的值是最近一次该函数调用时传入的实参,下面的示例有演示。</p>
|
||||
<p>如果函数不在执行期间,那么该函数的 <code>arguments</code> 属性的值是 <code>null</code>。</p>
|
||||
<h2 id="示例">示例</h2>
|
||||
<pre class="brush: js">function f(n) { g(n - 1); }
|
||||
<pre><code class="language-javascript">function f(n) { g(n - 1); }
|
||||
|
||||
function g(n) {
|
||||
console.log('before: ' + g.arguments[0]);
|
||||
@@ -27,7 +27,7 @@ console.log('函数退出后的 arguments 属性值:' + g.arguments);
|
||||
// after: 0
|
||||
// after: 1
|
||||
// 函数退出后的 arguments 属性值:null
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user