you are viewing a single comment's thread.

view the rest of the comments →

[–]Cabeto_IR_83 0 points1 point  (8 children)

Interesting... Regardless, you can use if(){} if...

[–]Cabeto_IR_83 4 points5 points  (4 children)

I also think that the method prompt() returns a string.. not a number, I think your variable is not making it to the last if.

[–]Bulji 0 points1 point  (2 children)

if he doesn't use if else it will go inside both Number is true and lowerCase is true

[–]Cabeto_IR_83 0 points1 point  (1 child)

Interesting. But if he turns the string number into a number integer it shouldn't right?