Fix whitespace problems

This commit is contained in:
Angelos Chalaris
2022-10-22 14:04:21 +03:00
parent 97478b7e05
commit 20a2630099
3 changed files with 0 additions and 3 deletions

View File

@ -15,7 +15,6 @@ Uses a separator and an end separator.
- Omit the third argument, `end`, to use the same value as `separator` by default.
```js
const join = (arr, separator = ',', end = separator) =>
arr.reduce(
(acc, val, i) =>

View File

@ -14,7 +14,6 @@ Mutates an array by removing elements for which the given function returns `fals
- The callback function is invoked with three arguments (value, index, array).
```js
const remove = (arr, func) =>
Array.isArray(arr)
? arr.filter(func).reduce((acc, val) => {

View File

@ -16,7 +16,6 @@ Gets the size of an array, object or string.
- Split strings into array of characters with `String.prototype.split()` and return its length.
```js
const size = val =>
Array.isArray(val)
? val.length