Travis build: 78

This commit is contained in:
30secondsofcode
2018-07-14 08:01:07 +00:00
parent 2c47f76676
commit 5c9c6b7987
14 changed files with 83 additions and 51 deletions

View File

@ -8,7 +8,10 @@ The callback function, `fn`, takes three arguments (the current character, the i
```js
const mapString = (str, fn) =>
str.split('').map((c, i) => fn(c, i, str)).join('');
str
.split('')
.map((c, i) => fn(c, i, str))
.join('');
```
```js