Travis build: 653

This commit is contained in:
Travis CI
2017-12-30 11:00:08 +00:00
parent 47b5a58c51
commit 856df6f586
2 changed files with 6 additions and 5 deletions

View File

@ -1108,8 +1108,8 @@ console.log(pulled); // [ 'b', 'd' ]
QuickSort an Array (ascending sort by default).
Use recursion.
Use `Array.filter` and spread operator (`...`) to create an array that all elements with values less than the pivot come before the pivot, and all elements with values greater than the pivot come after it.
Use recursion.
Use `Array.filter` and spread operator (`...`) to create an array that all elements with values less than the pivot come before the pivot, and all elements with values greater than the pivot come after it.
If the parameter `desc` is truthy, return array sorts in descending order.
```js
@ -2277,7 +2277,7 @@ const factorial = n =>
<summary>Examples</summary>
```js
factorial(6); // [0, 1, 1, 2, 3, 5]
factorial(6); // 720
```
</details>
@ -2304,7 +2304,7 @@ const fibonacci = n =>
<summary>Examples</summary>
```js
fibonacci(6); // 720
fibonacci(6); // [0, 1, 1, 2, 3, 5]
```
</details>
@ -4162,3 +4162,4 @@ validateNumber('10'); // true
## Credits
*Icons made by [Smashicons](https://www.flaticon.com/authors/smashicons) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/).*