@[email protected] to Programmer [email protected] • 1 year agoThe code was very janky, but it workedi.imgflip.comimagemessage-square35fedilinkarrow-up1479arrow-down19
arrow-up1470arrow-down1imageThe code was very janky, but it workedi.imgflip.com@[email protected] to Programmer [email protected] • 1 year agomessage-square35fedilink
minus-square@[email protected]linkfedilink1•1 year agothe remainder operator should return a number or a NaN right? do we actually need the triple here?
minus-square@marcoslink2•edit-21 year agoNot really. But with JS it’s better safe than sorry. The GP’s addition is unnecessary, but I fully support anyone that decides to do it.
the remainder operator should return a number or a NaN right? do we actually need the triple here?
Not really. But with JS it’s better safe than sorry.
The GP’s addition is unnecessary, but I fully support anyone that decides to do it.
point taken!