mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-14 22:55:04 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -29,11 +29,11 @@
|
||||
<h2 id="Examples" name="Examples">示例</h2>
|
||||
<h3 id="Example:_Using_MAX_VALUE" name="Example:_Using_MAX_VALUE">例子:使用 <code>MAX_VALUE</code></h3>
|
||||
<p>下面的代码求两个数值的乘积。如果结果小于等于 <code>MAX_VALUE</code>,则调用 <code>func1</code> 函数;否则,调用 <code>func2</code> 函数。</p>
|
||||
<pre class="brush: js">if (num1 * num2 <= Number.MAX_VALUE) {
|
||||
<pre><code class="language-javascript">if (num1 * num2 <= Number.MAX_VALUE) {
|
||||
func1();
|
||||
} else {
|
||||
func2();
|
||||
}</pre>
|
||||
}</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user