Build README

This commit is contained in:
Angelos Chalaris
2017-12-12 11:09:27 +02:00
parent a11f20fa1b
commit cfb90b0a8d
3 changed files with 6 additions and 11 deletions

View File

@ -113,8 +113,7 @@ var curry = f =>
Use `filter()` to remove values that are part of `values`, determined using `includes()`.
```js
var difference = (arr, values) =>
arr.filter(v => !values.includes(v));
var difference = (arr, values) => arr.filter(v => !values.includes(v));
```
### Distance between two points
@ -327,8 +326,7 @@ var scrollToTop = _ => {
Use `filter()` to remove values that are not part of `values`, determined using `includes()`.
```js
var difference = (arr, values) =>
arr.filter(v => values.includes(v));
var difference = (arr, values) => arr.filter(v => values.includes(v));
```
### Sort characters in string (alphabetical)
@ -367,7 +365,6 @@ var tail = arr => arr.slice(1);
### Unique values of array
Use ES6 `Set` and the `...rest` operator to discard all duplicated values.
```js