From 8d1313c84cc82d81363ed62b75baedb9a65ff2e3 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:08:24 +0800 Subject: remove font tag in zh-CN --- .../zh-cn/web/javascript/guide/expressions_and_operators/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-cn/web/javascript/guide/expressions_and_operators') diff --git a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html index c89cc966e5..1ea851d0f7 100644 --- a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html +++ b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html @@ -588,7 +588,7 @@ var a = [x, x, x, x, x]; for (var i = 0, j = 9; i <= j; i++, j--) console.log('a[' + i + '][' + j + ']= ' + a[i][j]); -

一元操作符

+

一元操作符

一元操作符仅对应一个操作数。

@@ -669,13 +669,13 @@ typeof today; // returns "object" typeof dontExist; // returns "undefined" -

对于关键词 true 和 null, typeof 操作符将会返回如下结果:

+

对于关键词 true 和 null, typeof 操作符将会返回如下结果:

typeof true; // returns "boolean"
 typeof null; // returns "object"
 
-

对于一个数值或字符串, typeof 操作符将会返回如下结果:

+

对于一个数值或字符串, typeof 操作符将会返回如下结果:

typeof 62;            // returns "number"
 typeof 'Hello world'; // returns "string"
-- 
cgit v1.2.3-54-g00ecf