aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/increment
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/increment')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/increment/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/increment/index.html b/files/zh-cn/web/javascript/reference/operators/increment/index.html
index afe307f389..31620cb751 100644
--- a/files/zh-cn/web/javascript/reference/operators/increment/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/increment/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Operators/Increment
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><strong>Operator:</strong> <var>x</var>++ or ++<var>x</var>
+<pre class="syntaxbox"><strong>Operator:</strong> <var>x</var>++ or ++<var>x</var>
</pre>
<h2 id="描述">描述</h2>
@@ -30,7 +30,7 @@ translation_of: Web/JavaScript/Reference/Operators/Increment
<h3 id="后置自增Postfix_increment">后置自增(Postfix increment)</h3>
-<pre class="brush: js notranslate">let x = 3;
+<pre class="brush: js">let x = 3;
y = x++;
// y = 3
@@ -39,7 +39,7 @@ y = x++;
<h3 id="前置自增Prefix_increment">前置自增(Prefix increment)</h3>
-<pre class="brush: js notranslate">let a = 2;
+<pre class="brush: js">let a = 2;
b = ++a;
// a = 3