News for hackers. Stuff that matters.
Re:I'm a fucking webmaster (2016) by jraph on Monday May 09, 2022 @09:11AM (#31313587)
Ok, which programming languages actually have an isOdd or an isEven function in their standard library?

Anyway, Javascript, like virtually every programming language, has "& 1".

Yes, the standard library is lacking and yes, that's a big issue, partly responsible for the huge mess that is NPM. No, it does not matter one bit here so this is off topic.

There are no comments on this comment yet.