News for hackers. Stuff that matters.
Re:Low Level Bit Hacks You Absolutely Must Know by justin66 on Friday May 11, 2018 @01:40PM (#17049312)
This is pretty interesting. I don't use js but I took a quick look and apparently (x % 2) == 0 as a test for even integers should still work properly there, since a comparison of -0 and 0 will consider them equivalent.

There are no comments on this comment yet.