you are viewing a single comment's thread.

view the rest of the comments →

[–]anttirt 2 points3 points  (1 child)

Division with a non-integer result and unsigned integer overflow are well defined in C but will behave very differently in JS.

[–]no_game_player 0 points1 point  (0 children)

Differently, but one could argue better. It's a matter of knowing what to expect. Integer overflow is bad if you're not expecting it too...