Closed orimay closed 2 years ago
Adding '-Infinity' as an invalid case, not handled before Skipping extra checks until needed (like NaN, Infinity) Checking for 'null' first as for more common case than invalid 'undefined' Fixing tests to handle -Infinity
Ooo, caught me on -Infinity good one!
-Infinity
Adding '-Infinity' as an invalid case, not handled before Skipping extra checks until needed (like NaN, Infinity) Checking for 'null' first as for more common case than invalid 'undefined' Fixing tests to handle -Infinity