Code: Select all
log((2-3) % 4); // -1 (at first I came across the bug with something like this)
log(-1 % 4); // not just for calculations: still -1
log(-10 % 4); // well it _works_ - kind of: -2
log(-12 % 4); // 0 (Y)
log(-11 % 4); // -3