>>12 I had to pepper a trivial program with Math.floor(), it was horrible.
I wonder if modern JS is smart enough to realise that it can use ints internally when I do that, or if it mindlessly does expensive floating point division followed by floor().