Update reversString.md
This commit is contained in:
@ -11,7 +11,7 @@ Combine characters to get a string using `String.join('')`.
|
||||
|
||||
|
||||
const reverseString = str =>
|
||||
[..str]
|
||||
[...str]
|
||||
.reverse()
|
||||
.join('');
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user