Skip to content

Commit

Permalink
docs(array): 修正difference文档
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed Jul 5, 2024
1 parent 9f215ee commit a86bae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/array/difference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 基本用法

传入目标数组和比较数组,使用[SameValueZero](https://262.ecma-international.org/6.0/#sec-samevaluezero)进行比较,返回目标数组在比较数组里的数据
传入目标数组和比较数组,使用[SameValueZero](https://262.ecma-international.org/6.0/#sec-samevaluezero)进行比较,返回目标数组不在比较数组里的数据

如果是对象数组,可将第三个参数传入对象的key来匹配。

Expand Down

0 comments on commit a86bae8

Please sign in to comment.