diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:02:49 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 01b0e12ba27b5069248fd09235e9a7143915ee30 (patch) | |
tree | 0e9edf538dc3fa3331e1dbb79239b58186765f86 /files/zh-cn/web/javascript/reference/global_objects/array/concat | |
parent | 6ca84f1794af830ada9736d7289ce29aabb04ca3 (diff) | |
download | translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.gz translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.bz2 translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.zip |
remove `notranslate` class in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/concat')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/array/concat/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/concat/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/concat/index.html index 4541912a76..b0960c35d0 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/concat/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/concat/index.html @@ -16,7 +16,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/concat <h2 id="语法">语法</h2> -<pre class="syntaxbox notranslate">var <var>new_array</var> = <var>old_array</var>.concat(<var>value1</var>[, <var>value2</var>[, ...[, <var>valueN</var>]]])</pre> +<pre class="syntaxbox">var <var>new_array</var> = <var>old_array</var>.concat(<var>value1</var>[, <var>value2</var>[, ...[, <var>valueN</var>]]])</pre> <h3 id="Parameters" name="Parameters">参数</h3> @@ -53,7 +53,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/concat <p>以下代码将两个数组合并为一个新数组:</p> -<pre class="brush: js notranslate">var alpha = ['a', 'b', 'c']; +<pre class="brush: js">var alpha = ['a', 'b', 'c']; var numeric = [1, 2, 3]; alpha.concat(numeric); @@ -63,7 +63,7 @@ alpha.concat(numeric); <p>以下代码将三个数组合并为一个新数组:</p> -<pre class="brush: js notranslate">var num1 = [1, 2, 3], +<pre class="brush: js">var num1 = [1, 2, 3], num2 = [4, 5, 6], num3 = [7, 8, 9]; @@ -76,7 +76,7 @@ console.log(nums); <p>以下代码将三个值连接到数组:</p> -<pre class="brush: js notranslate">var alpha = ['a', 'b', 'c']; +<pre class="brush: js">var alpha = ['a', 'b', 'c']; var alphaNumeric = alpha.concat(1, [2, 3]); @@ -87,7 +87,7 @@ console.log(alphaNumeric); <p>以下代码合并数组并保留引用:</p> -<pre class="brush: js notranslate">var num1 = [[1]]; +<pre class="brush: js">var num1 = [[1]]; var num2 = [2, [3]]; var num3=[5,[6]]; |