Last active
          February 17, 2018 08:11 
        
      - 
      
- 
        Save harsharora04/ff34e2b9b73e4daf1f82a27e3a562549 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
    
  
  
    
  | function reverse(str) { | |
| return str.split("").reverse().join(""); | |
| } | |
| //a = "hello" | |
| //reverse(a) "olleh" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment