Skip to content

Commit

Permalink
docs: array add uniqueFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
halldwang committed Jan 8, 2020
1 parent 50669dd commit 8f738ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let array = {
}, []),

/**
* 数组根据对象中的元素值去重
* Remove duplicates from an array of objects
* https://stackoverflow.com/questions/2218999/remove-duplicates-from-an-array-of-objects-in-javascript
*/
uniqueFrom: (arr, target) => {
Expand Down

0 comments on commit 8f738ce

Please sign in to comment.