mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-20 10:25:54 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<article id="wikiArticle">
|
||||
<div></div>
|
||||
<h2 id="信息">信息</h2>
|
||||
<pre class="syntaxbox">Warning: SyntaxError: 08 is not a legal ECMA-262 octal constant.
|
||||
<pre><code class="language-javascript">Warning: SyntaxError: 08 is not a legal ECMA-262 octal constant.
|
||||
Warning: SyntaxError: 09 is not a legal ECMA-262 octal constant.
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="错误类型">错误类型</h2>
|
||||
<p>仅在 <a href="Reference/Strict_mode">strict mode</a> 下出现 <a href="Reference/Global_Objects/SyntaxError" title="SyntaxError 对象代表尝试解析语法上不合法的代码的错误。"><code>SyntaxError</code></a> 警告。</p>
|
||||
<h2 id="哪里出错了">哪里出错了?</h2>
|
||||
@@ -14,16 +14,16 @@ Warning: SyntaxError: 09 is not a legal ECMA-262 octal constant.
|
||||
</div>
|
||||
<h2 id="示例">示例</h2>
|
||||
<h3 id="无效的八进制数">无效的八进制数</h3>
|
||||
<pre class="brush: js example-bad">"use strict";
|
||||
<pre><code class="language-js example-bad">"use strict";
|
||||
08;
|
||||
09;
|
||||
// SyntaxError: 08 is not a legal ECMA-262 octal constant
|
||||
// SyntaxError: octal literals and octal escape sequences are deprecated</pre>
|
||||
// SyntaxError: octal literals and octal escape sequences are deprecated</code></pre>
|
||||
<h3 id="有效的八进制数">有效的八进制数</h3>
|
||||
<p>Use a leading zero followed by the letter "o";</p>
|
||||
<pre class="brush: js example-good">0O755;
|
||||
<pre><code class="language-js example-good">0O755;
|
||||
0o644;
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="相关链接">相关链接</h2>
|
||||
<ul>
|
||||
<li><a href="Reference/Lexical_grammar#Octal">Lexical grammar</a></li>
|
||||
|
||||
Reference in New Issue
Block a user