remove max and min shims

This commit is contained in:
Robert Mennell
2018-01-02 18:07:31 -08:00
parent 2789d947ea
commit 529af6b88d
3 changed files with 0 additions and 28 deletions

View File

@ -1,13 +0,0 @@
### max
Returns the maximum value out of two or more numbers/arrays.
Use `Math.max()` combined with the spread operator (`...`) to get the maximum value in the array.
```js
const max = (...arr) => Math.max(...[].concat(...arr));
```
```js
max([10, 1, 5]); // 10
```

View File

@ -1,13 +0,0 @@
### min
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 min = arr => Math.min(...[].concat(...arr));
```
```js
min([10, 1, 5]); // 1
```

View File

@ -95,10 +95,8 @@ lcm:math
lowercaseKeys:object
mapObject:array
mask:string
max:math
median:math
memoize:function
min:math
negate:logic
nthElement:array
objectFromPairs:object