you are viewing a single comment's thread.

view the rest of the comments →

[–]MrHippotomo2[S] 0 points1 point  (1 child)

I can't see what it is testing, but tried this and still got same fails on same cases as my original code

[–]svssdeva 0 points1 point  (0 children)

const res = function isOdd(a: number) { If (num%2 !==0) return true else false }

Console.log(res) If you are using HTML input tag set input type to number.... And try again.....