475
The code was very janky, but it worked
(i.imgflip.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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!