Created
November 9, 2019 21:44
-
-
Save peterforgacs/382eb8059111ee96d8a25bcecae8ef25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// version 1 | |
"hello".split("").reverse(); | |
// version 2 | |
[..."hello"].reverse(); | |
// version 3 | |
Array.from("hello").reverse(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment