From f45e9e070c93ebbd83d488bdd775987a4d75c201 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:08 +0800 Subject: fix yari h2m dry run errors --- .../web/javascript/reference/global_objects/string/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/zh-tw/web/javascript/reference/global_objects/string/index.html') diff --git a/files/zh-tw/web/javascript/reference/global_objects/string/index.html b/files/zh-tw/web/javascript/reference/global_objects/string/index.html index e29b6b8cea..2c9e419b04 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/string/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/string/index.html @@ -105,8 +105,8 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String
-
-

和其他語言不同,JavaScript 將單引號字串和雙引號字串是做相同;因此,上述的序列可以在單引號或雙引號中作用。

+
+

備註:和其他語言不同,JavaScript 將單引號字串和雙引號字串是做相同;因此,上述的序列可以在單引號或雙引號中作用。

@@ -192,7 +192,7 @@ console.log(eval(s2)); // 回傳字串 "2 + 2"
console.log(eval(s2.valueOf())); // 回傳數字 4
 
-
注意: 對於在 JavaScript 中其他可用的字串方法,請參閱這篇文章StringView – a C-like representation of strings based on typed arrays
+

備註:對於在 JavaScript 中其他可用的字串方法,請參閱這篇文章StringView – a C-like representation of strings based on typed arrays

屬性

@@ -216,8 +216,8 @@ console.log(eval(s2)); // 回傳字串 "2 + 2"

String 通用方法

-
-

字串通用方法是非標準化的、被棄用的,也有近期將被刪除的。

+
+

警告:字串通用方法是非標準化的、被棄用的,也有近期將被刪除的。

The String instance methods are also available in Firefox as of JavaScript 1.6 (though not part of the ECMAScript standard) on the String object for applying String methods to any object:

-- cgit v1.2.3-54-g00ecf