Update reversString.md

This commit is contained in:
Rohit Tanwar
2018-01-06 13:22:31 +05:30
committed by GitHub
parent 10cfcb1f90
commit 288ac54f1a

View File

@ -11,7 +11,7 @@ Combine characters to get a string using `String.join('')`.
const reverseString = str =>
[..str]
[...str]
.reverse()
.join('');
```