How do I check if a number evaluates to infinity? How do I check if a number evaluates to infinity? javascript javascript