aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference/global_objects/string/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/string/index.html')
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/string/index.html10
1 files changed, 5 insertions, 5 deletions
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
<dl>
</dl>
-<div class="note">
-<p>和其他語言不同,JavaScript 將單引號字串和雙引號字串是做相同;因此,上述的序列可以在單引號或雙引號中作用。</p>
+<div class="notecard note">
+<p><strong>備註:</strong>和其他語言不同,JavaScript 將單引號字串和雙引號字串是做相同;因此,上述的序列可以在單引號或雙引號中作用。</p>
</div>
<dl>
@@ -192,7 +192,7 @@ console.log(eval(s2)); // 回傳字串 "2 + 2"
<pre class="brush: js">console.log(eval(s2.valueOf())); // 回傳數字 4
</pre>
-<div class="note"><strong>注意:</strong> 對於在 JavaScript 中其他可用的字串方法,請參閱這篇文章<a href="/en-US/docs/Web/JavaScript/Typed_arrays/StringView" title="/en-US/docs/Web/JavaScript/Typed_arrays/StringView"><code>StringView</code> – a C-like representation of strings based on typed arrays</a>。</div>
+<div class="notecard note"><p><strong>備註:</strong>對於在 JavaScript 中其他可用的字串方法,請參閱這篇文章<a href="/en-US/docs/Web/JavaScript/Typed_arrays/StringView" title="/en-US/docs/Web/JavaScript/Typed_arrays/StringView"><code>StringView</code> – a C-like representation of strings based on typed arrays</a>。</p></div>
<h2 id="Properties">屬性</h2>
@@ -216,8 +216,8 @@ console.log(eval(s2)); // 回傳字串 "2 + 2"
<h2 id="String_通用方法"><code>String</code> 通用方法</h2>
-<div class="warning">
-<p>字串通用方法是非標準化的、被棄用的,也有近期將被刪除的。</p>
+<div class="notecard warning">
+<p><strong>警告:</strong>字串通用方法是非標準化的、被棄用的,也有近期將被刪除的。</p>
</div>
<p>The <code>String </code>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:</p>