Travis build: 1051

This commit is contained in:
30secondsofcode
2018-01-06 08:17:59 +00:00
parent d75f64a949
commit 8ebdc5fc35
3 changed files with 3 additions and 24 deletions

View File

@ -6,14 +6,7 @@ Use the spread operator (`...`) and `Array.reverse()` to reverse the order of th
Combine characters to get a string using `String.join('')`.
```js
const reverseString = str =>
[...str]
.reverse()
.join('');
const reverseString = str => [...str].reverse().join('');
```
```js