docs(array): fix .group() #1161

This commit is contained in:
ruanyf
2023-07-20 14:38:25 +08:00
parent afa1b0dbee
commit 49351992ce
+1 -1
View File
@@ -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] }
```