mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-02-27 09:32:01 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
<div> <div class="blockIndicator obsolete obsoleteHeader"><p><strong><span class="icon-only-inline" title="This is an obsolete API and is no longer guaranteed to work."><i class="icon-trash"> </i></span> 已废弃 Gecko 2 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)</strong><br/>This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.</p></div></div>
|
||||
<p> <strong><code>__count__</code></strong> 属性曾经用来存放对象的可枚举的属性的个数,但是已经被废除。</p>
|
||||
<h2 id="语法">语法</h2>
|
||||
<pre class="syntaxbox"><code><var>obj</var>.__count__</code></pre>
|
||||
<pre><code class="language-javascript"><code><var>obj</var>.__count__</code></code></pre>
|
||||
<h2 id="示例">示例</h2>
|
||||
<pre class="brush: js">{ 1: 1 }.__count__ // 1
|
||||
<pre><code class="language-javascript">{ 1: 1 }.__count__ // 1
|
||||
[].__count__ // 0
|
||||
[1].__count__ // 1
|
||||
[1, /* hole */, 2, 3].__count__ // 3
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="详细说明">详细说明</h2>
|
||||
<p>无需详细说明</p>
|
||||
<h2 id="浏览器兼容性">浏览器兼容性</h2>
|
||||
|
||||
Reference in New Issue
Block a user