Travis build: 904

This commit is contained in:
Travis CI
2018-01-03 11:48:51 +00:00
parent 3a4eef103a
commit 4037282354
3 changed files with 3 additions and 51 deletions

View File

@ -173,9 +173,7 @@
* [`isEven`](#iseven)
* [`isPrime`](#isprime)
* [`lcm`](#lcm)
* [`max`](#max)
* [`median`](#median)
* [`min`](#min)
* [`percentile`](#percentile)
* [`powerset`](#powerset)
* [`primes`](#primes)
@ -3052,28 +3050,6 @@ lcm([1, 3, 4], 5); // 60
<br>[⬆ Back to top](#table-of-contents)
### 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));
```
<details>
<summary>Examples</summary>
```js
max([10, 1, 5]); // 10
```
</details>
<br>[⬆ Back to top](#table-of-contents)
### median
Returns the median of an array of numbers.
@ -3102,28 +3078,6 @@ median([0, 10, -2, 7]); // 3.5
<br>[⬆ Back to top](#table-of-contents)
### 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));
```
<details>
<summary>Examples</summary>
```js
min([10, 1, 5]); // 1
```
</details>
<br>[⬆ Back to top](#table-of-contents)
### percentile
Uses the percentile formula to calculate how many numbers in the given array are less or equal to the given value.

File diff suppressed because one or more lines are too long

View File

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