Skip to content

Commit

Permalink
docs(array): fix .group() #1161
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Jul 20, 2023
1 parent 289f7e1 commit 48d60ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ array.group((num, index, array) => {
下面是另一个例子。

```javascript
[6.1, 4.2, 6.3].groupBy(Math.floor)
[6.1, 4.2, 6.3].group(Math.floor)
// { '4': [4.2], '6': [6.1, 6.3] }
```

Expand Down

0 comments on commit 48d60ac

Please sign in to comment.