2 ms·
In a game of code golf, or something where you purposely make your code as hard to read as possible, I can imagine doing something like `if (!(x>0) && !(x==0) &
by danschumann 9y ago
In a game of code golf, or something where you purposely make your code as hard to read as possible, I can imagine doing something like `if (!(x>0) && !(x==0) && (x>=0))` instead of doing `if(x===null)`.
- koolba 9y agoNot as hard, it's as short as possible, i.e. a keystroke is stroke. The hard to read is a pleasant side effect.