aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/unary_negation
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:02:49 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit01b0e12ba27b5069248fd09235e9a7143915ee30 (patch)
tree0e9edf538dc3fa3331e1dbb79239b58186765f86 /files/zh-cn/web/javascript/reference/operators/unary_negation
parent6ca84f1794af830ada9736d7289ce29aabb04ca3 (diff)
downloadtranslated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.gz
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.bz2
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.zip
remove `notranslate` class in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/unary_negation')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/unary_negation/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/unary_negation/index.html b/files/zh-cn/web/javascript/reference/operators/unary_negation/index.html
index 2170b92c53..887a79a2a0 100644
--- a/files/zh-cn/web/javascript/reference/operators/unary_negation/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/unary_negation/index.html
@@ -13,14 +13,14 @@ translation_of: Web/JavaScript/Reference/Operators/Unary_negation
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><strong>Operator:</strong> -<var>x</var>
+<pre class="syntaxbox"><strong>Operator:</strong> -<var>x</var>
</pre>
<h2 id="Examples">Examples</h2>
<h3 id="Negating_numbers">Negating numbers</h3>
-<pre class="brush: js notranslate">const x = 3;
+<pre class="brush: js">const x = 3;
const y = -x;
// y = -3
@@ -31,7 +31,7 @@ const y = -x;
<p>The unary negation operator can convert a non-number into a number.</p>
-<pre class="brush: js notranslate">const x = "4";
+<pre class="brush: js">const x = "4";
const y = -x;
// y = -4