Created
February 17, 2018 08:33
-
-
Save harsharora04/70aba6047e42f383c6a37061c387fe7a to your computer and use it in GitHub Desktop.
Revisions
-
harsharora04 revised this gist
Feb 17, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ const reverse = (str) => { return [...str].reverse().join("") } // a = "πππ€£π some random middle string π ππππππ" -
harsharora04 created this gist
Feb 17, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ const reverse = (str) => { return [...str].reverse("").join("") } // a = "πππ€£π some random middle string π ππππππ" // reverse(a) = "πππππππ gnirts elddim modnar emos ππ€£ππ"