语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -2,8 +2,8 @@
<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> 已废弃</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>
<div><strong><code>Reflect.enumerate()</code></strong>静态方法通常返回目标对象自身和继承的可迭代属性的一个迭代器在ECMAScript 2016中已被移除在各浏览器中已被废弃。</div>
<h2 id="语法">语法</h2>
<pre class="syntaxbox">Reflect.enumerate(target)
</pre>
<pre><code class="language-javascript">Reflect.enumerate(target)
</code></pre>
<h3 id="参数">参数</h3>
<dl>
<dt><code>target</code></dt>
@@ -17,13 +17,13 @@
<p><code>Reflect.enumerate()</code>方法返回目标对象自身和继承的可迭代属性的一个迭代器。</p>
<h2 id="案例">案例</h2>
<h3 id="使用_Reflect.enumerate()">使用 <code>Reflect.enumerate()</code></h3>
<pre class="brush: js">var obj = { x: 1, y: 2 };
<pre><code class="language-javascript">var obj = { x: 1, y: 2 };
for (var name of Reflect.enumerate(obj)) {
console.log(name);
}
// logs "x" and "y"
</pre>
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>