Travis build: 1051
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user