diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/statements/if...else/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/statements/if...else/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/if...else/index.html b/files/zh-cn/web/javascript/reference/statements/if...else/index.html index 991e36f52d..ea26ed78af 100644 --- a/files/zh-cn/web/javascript/reference/statements/if...else/index.html +++ b/files/zh-cn/web/javascript/reference/statements/if...else/index.html @@ -10,7 +10,7 @@ translation_of: Web/JavaScript/Reference/Statements/if...else <div> {{jsSidebar("Statements")}}</div> </div> -<p><span style="line-height: 19.0909080505371px;">当指定条件为真,</span><strong>if 语句</strong>会执行一段语句。如果条件为假,则执行另一段语句。</p> +<p>当指定条件为真,<strong>if 语句</strong>会执行一段语句。如果条件为假,则执行另一段语句。</p> <p>{{EmbedInteractiveExample("pages/js/statement-ifelse.html")}}</p> @@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Statements/if...else <dl> <dt><code>statement2</code></dt> - <dd>如果<code>condition</code>为假且 <code>else</code>从句存在时执行的语句。<span style="line-height: 19.0909080505371px;">可为任意语句,包括块语句和</span>嵌套的<code>if</code>语句<span style="line-height: 19.0909080505371px;">。</span></dd> + <dd>如果<code>condition</code>为假且 <code>else</code>从句存在时执行的语句。可为任意语句,包括块语句和嵌套的<code>if</code>语句。</dd> </dl> <h2 id="Description" name="Description">说明</h2> |