This file contains 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
150 | |
152 | |
155 | |
156 | |
157 | |
141 | |
124 | |
138 | |
143 | |
145 |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am bipol on github. | |
* I am bipol (https://keybase.io/bipol) on keybase. | |
* I have a public key ASBDQomCSJpQEgmkoFPWjrpLQG0O9FRBUciWC-8Jouwyowo | |
To claim this, I am signing this object: |
This file contains 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
// answers in javascript... | |
1. | |
function reverse(str) { | |
if (typeof str === 'string') { | |
return str.split('').reverse().join(''); | |
} else { | |
console.log('Invalid Argument: Must be a string'); | |
} | |
}; |