Skip to content

Commit 4935199

Browse files
committed
docs(array): fix .group() ruanyf#1161
1 parent afa1b0d commit 4935199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ array.group((num, index, array) => {
941941
下面是另一个例子。
942942

943943
```javascript
944-
[6.1, 4.2, 6.3].groupBy(Math.floor)
944+
[6.1, 4.2, 6.3].group(Math.floor)
945945
// { '4': [4.2], '6': [6.1, 6.3] }
946946
```
947947

0 commit comments

Comments
 (0)