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

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

@@ -9,15 +9,15 @@
else
console.log(whoCalled.caller + ' called me!');
}
</pre>
</code></pre>
<h3 id="Examples" name="Examples">示例</h3>
<p>下例演示了<code>arguments.caller</code>属性的作用.</p>
<pre class="brush: js example-bad">function whoCalled() {
<pre><code class="language-js example-bad">function whoCalled() {
   if (arguments.caller == null)
      console.log('该函数在全局作用域内被调用.');
   else
      console.log(arguments.caller + '调用了我!');
}</pre>
}</code></pre>
<h2 id="规范">规范</h2>
<p>无相关标准。JavaScript 1.1 实现,{{bug(7224)}} 移除 caller因为潜在的不安全性。</p>
<h2 id="浏览器支持">浏览器支持</h2>