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

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,10 +2,10 @@
<div></div>
<p><code><strong>@@iterator</strong></code> 属性的初始值是和 <a href="Reference/Global_Objects/Array/values" title="values() 方法返回一个新的 Array Iterator 对象该对象包含数组每个索引的值"><code>Array.prototype.values</code></a> 属性的初始值相同的对象。</p>
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>arguments</var>[Symbol.iterator]()</pre>
<pre><code class="language-javascript"><var>arguments</var>[Symbol.iterator]()</code></pre>
<h2 id="实例">实例</h2>
<h3 id="使用for...of循环的迭代">使用<code>for...of</code>循环的迭代</h3>
<pre class="brush: js">function f() {
<pre><code class="language-javascript">function f() {
// 你的浏览器必须支持 for..of 循环
// 以及 for 循环中的 let 区域变量
for (let letter of arguments) {
@@ -13,7 +13,7 @@
}
}
f('w', 'y', 'k', 'o', 'p');
</pre>
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>