That code is so wrong. We’re talking about Jason “Thor” Hall here—that function should be returning 1 and 0, not booleans.
If you don't get the joke...
In the source code for his GameMaker game, he never uses true
or false
. It’s always comparing a number equal to 1.
But where’s the fun in that?
There are so many better
for obfuscationways of checking for oddness!(a & 1) > 0 a.toString()[a.toString().length()-1] - '1' == 0 iseven(a)?(1==0):(1!=0)