mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-02-28 10:03:04 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<h3 id="Function.prototype_对象的属性"><code>Function</code>.prototype 对象的属性</h3>
|
||||
<p> <a href="Reference/Global_Objects/Function/prototype" title="Function.prototype 属性存储了 Function 的原型对象。"><code>Function.prototype</code></a> 对象的 length 属性值为 0 。</p>
|
||||
<h2 id="Examples" name="Examples">示例</h2>
|
||||
<pre class="brush: js">console.log(Function.length); /* 1 */
|
||||
<pre><code class="language-javascript">console.log(Function.length); /* 1 */
|
||||
|
||||
console.log((function() {}).length); /* 0 */
|
||||
console.log((function(a) {}).length); /* 1 */
|
||||
@@ -43,7 +43,7 @@ console.log((function(...args) {}).length);
|
||||
|
||||
console.log((function(a, b = 1, c) {}).length);
|
||||
// 1, only parameters before the first one with
|
||||
// a default value is counted</pre>
|
||||
// a default value is counted</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user