Skip to content

Instantly share code, notes, and snippets.

150
152
155
156
157
141
124
138
143
145
### 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:
@bipol
bipol / cb.txt
Last active February 18, 2016 13:42
CB Assessment Questions
// 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');
}
};