You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It splits an array into the specified number of pieces. When the number of pieces is larger than the input size, it creates empty pieces. It always returns the specified number of pieces. Some examples:
**reduce.o** reduces an array to an object. It supports customizations using the key and the value functions. Without customizations, key and value are the input array items.
@@ -66,7 +78,7 @@ const result = reduce.mul([])
66
78
// Output: 1
67
79
```
68
80
69
-
###map
81
+
## map
70
82
*map* supports several operations.
71
83
72
84
**map.scale** uses the input factor to scale elements.
0 commit comments