add snippet toKebabCase
This commit is contained in:
@ -5,6 +5,6 @@ Returns the minimum value in an array.
|
||||
Use `Math.min()` combined with the spread operator (`...`) to get the minimum value in the array.
|
||||
|
||||
```js
|
||||
const arrayMin = arr => Math.min(...arr);
|
||||
const arrayMin = zzarr => Math.min(...arr);
|
||||
// arrayMin([10, 1, 5]) -> 1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user