Hacker News new | ask | show | jobs
by buraktamturk 1618 days ago
It worked only once for me (str.split('').reverse().join('') one).

But this one didn't:

function isOddNumber(num) { return !!(num%2); }

Testing for input computer: FAILED! Expected: retupmoc | Got: undefined eval code@ eval@[native code]

1 comments

num % 2 != 0