Comment Comment by russtrotter The old C bum in me says this should really be a bitwise AND with 1 but I'm sure modern compilers and JS JIT/V8 runtimes optimize MOD 2 to the same. parent russtrotter 4 years ago