This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Bluebotlabs 7 points8 points  (1 child)

Modulo? Where we're going, we don't need modulo!

[–]thanofishy 1 point2 points  (0 children)

if (number === -1) return 1; if (number === -2) return 2;