Skip to content

Commit

Permalink
fix: join方法描述缺失 (#1182)
Browse files Browse the repository at this point in the history
* fix: join方法描述缺失

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

---------

Co-authored-by: LeviDing <[email protected]>
  • Loading branch information
NansenHo and leviding authored Jan 26, 2024
1 parent c66cb38 commit 0db559b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-js/05-data-types/05-array-methods/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ alert(soldiers[1].age); // 23
- `map(func)` —— 根据对每个元素调用 `func` 的结果创建一个新数组。
- `sort(func)` —— 对数组进行原位(in-place)排序,然后返回它。
- `reverse()` —— 原位(in-place)反转数组,然后返回它。
- `split/join` —— 将字符串转换为数组并返回
- `split/join` —— 将字符串拆分为数组并返回/将数组项组合成字符串并返回
- `reduce/reduceRight(func, initial)` —— 通过对每个元素调用 `func` 计算数组上的单个值,并在调用之间传递中间结果。

- 其他:
Expand Down

0 comments on commit 0db559b

Please sign in to comment.