From 01b0e12ba27b5069248fd09235e9a7143915ee30 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:02:49 +0800 Subject: remove `notranslate` class in zh-CN --- .../web/javascript/reference/operators/unary_negation/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/operators/unary_negation') 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

语法

-
Operator: -x
+
Operator: -x
 

Examples

Negating numbers

-
const x = 3;
+
const x = 3;
 const y = -x;
 
 // y = -3
@@ -31,7 +31,7 @@ const y = -x;
 
 

The unary negation operator can convert a non-number into a number.

-
const x = "4";
+
const x = "4";
 const y = -x;
 
 // y = -4
-- 
cgit v1.2.3-54-g00ecf