Skip to content

Instantly share code, notes, and snippets.

@dented
Forked from thebyrd/tyga.js
Last active August 29, 2015 14:18
Show Gist options
  • Save dented/d32b83591c7252095aa3 to your computer and use it in GitHub Desktop.
Save dented/d32b83591c7252095aa3 to your computer and use it in GitHub Desktop.
// Make it Nasty
function increment (i) {
i ^= (i & ~-~i) | (~i & -~i)
return i
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment