Skip to content

Commit 0db559b

Browse files
NansenHoleviding
andauthored
fix: join方法描述缺失 (#1182)
* fix: join方法描述缺失 * Update 1-js/05-data-types/05-array-methods/article.md --------- Co-authored-by: LeviDing <[email protected]>
1 parent c66cb38 commit 0db559b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ alert(soldiers[1].age); // 23
763763
- `map(func)` —— 根据对每个元素调用 `func` 的结果创建一个新数组。
764764
- `sort(func)` —— 对数组进行原位(in-place)排序,然后返回它。
765765
- `reverse()` —— 原位(in-place)反转数组,然后返回它。
766-
- `split/join` —— 将字符串转换为数组并返回
766+
- `split/join` —— 将字符串拆分为数组并返回/将数组项组合成字符串并返回
767767
- `reduce/reduceRight(func, initial)` —— 通过对每个元素调用 `func` 计算数组上的单个值,并在调用之间传递中间结果。
768768

769769
- 其他:

0 commit comments

Comments
 (0)