diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:14:18 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | d44f5032d0f53256b2d5aef505d6b593fd3cd158 (patch) | |
tree | 4b585f4be9c9a2712664ad10e7acf62c83fff51f /files/zh-cn/web/javascript/reference/global_objects/array/join | |
parent | f45e9e070c93ebbd83d488bdd775987a4d75c201 (diff) | |
download | translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.gz translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.bz2 translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.zip |
fix yari h2m dry run errors (zh-CN)
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/join')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/array/join/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/join/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/join/index.html index b4c06b6acb..defbf9c200 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/join/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/join/index.html @@ -23,18 +23,18 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/join <dl> <dt><code>separator</code> {{optional_inline}}</dt> <dd>指定一个字符串来分隔数组的每个元素。如果需要,将分隔符转换为字符串。如果缺省该值,数组元素用逗号(<code>,</code>)分隔。如果<code>separator</code>是空字符串(<code>""</code>),则所有元素之间都没有任何字符。</dd> - <dt> - <h3 id="返回值">返回值</h3> - </dt> - <dd>一个所有数组元素连接的字符串。如果 <code>arr.length</code><strong> </strong>为0,则返回空字符串。</dd> </dl> +<h3 id="返回值">返回值</h3> + +<p>一个所有数组元素连接的字符串。如果 <code>arr.length</code><strong> </strong>为0,则返回空字符串。</p> + <h2 id="Description">描述</h2> <p>所有的数组元素被转换成字符串,再用一个分隔符将这些字符串连接起来。</p> -<div class="blockIndicator warning"> -<p>如果一个元素为 <code>undefined</code> 或 <code>null</code>,它会被转换为空字符串。</p> +<div class="warning"> +<p><strong>警告:</strong>如果一个元素为 <code>undefined</code> 或 <code>null</code>,它会被转换为空字符串。</p> </div> <h2 id="Examples">示例</h2> |