473
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.)
Not a JS dev either but
===
.Not really sure what the
(+x)
is aboutthe 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!