diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/of')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/array/of/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html index 4636c06bdb..25e4a88a23 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/of/index.html @@ -45,8 +45,8 @@ Array(1, 2, 3); // [1, 2, 3] <h2 id="示例">示例</h2> -<pre class="brush: js" style="font-size: 14px;"><span style="line-height: 22px;">Array.of(1); // [1] -</span><span style="line-height: 22px;">Array.of(1, 2, 3); // [1, 2, 3]</span> +<pre class="brush: js" style="font-size: 14px;">Array.of(1); // [1] +Array.of(1, 2, 3); // [1, 2, 3] Array.of(undefined); // [undefined] </pre> |