top | item 40340462 (no title) vkoskiv | 1 year ago Am I missing something here, why is a package even needed needed for this? Can you not evaluate `some_int % 2` in Javascript to check for this directly? discuss order hn newest XorNot|1 year ago Javascripts habit of coercing values when you don't want it too would make this presumably a little suspect?Even so: I'd much rather in my code have a function doing exactly this, rather then peppering it all through my code anyway. lodovic|1 year ago Sure, but that doesn't justify an external dependency load replies (1)
XorNot|1 year ago Javascripts habit of coercing values when you don't want it too would make this presumably a little suspect?Even so: I'd much rather in my code have a function doing exactly this, rather then peppering it all through my code anyway. lodovic|1 year ago Sure, but that doesn't justify an external dependency load replies (1)
XorNot|1 year ago
Even so: I'd much rather in my code have a function doing exactly this, rather then peppering it all through my code anyway.
lodovic|1 year ago