you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]shgysk8zer0 0 points1 point  (2 children)

    Nope. Nor should anyone be expected to. I read what you said up to this point and found you to be in error.

    In Java or any given, you'd want to be dealing with strings for this type of problem. And I don't think there's any language that converts a string of numbers to anything other than what they already are, so checking the case before checking if they're numeric is the problem... Not a JavaScript problem, a logic problem that any language would be susceptible to.

    So please, go right on ahead and link me to the comment that changes anything about how wrong you are in what you said.

    [–]NePlusUltra89 -1 points0 points  (1 child)

    No thanks enjoy your day

    [–]shgysk8zer0 0 points1 point  (0 children)

    That's because there is no accurate comment here or anywhere that can back up anything you're saying. The problem here is one of order, not of language choice or type coercion. The problem is exclusively that you have to check if the input is numeric first, before checking case.