Ad
  • Custom User Avatar

    You're right. I was thinking in 2%0. It's useless.

  • Custom User Avatar

    @wthit56 I only can see one error in the original message that I'm answering.............

    TypeError: Property 'sqrt' of object # is not a function

    I think that the tests that check the solution are doing dirty things, and obviously bad. The same code in JavaScript console works (different browsers and so)

  • Custom User Avatar

    I have the same problem, if I try to return in the first line
    Math.sqrt(9)

    It raises that error......

  • Custom User Avatar

    What does it happen if the number is 0 and you do 0%2 ?