Hacker News new | ask | show | jobs
by mcav 3390 days ago
The JS behavior regarding 1/0, etc, is the same as C: http://www.gnu.org/software/libc/manual/html_node/Infinity-a...
1 comments

Yes, but the issue comes up more often in JS and PHP since they don't have native integer division.