Skip to content

Instantly share code, notes, and snippets.

@mazhar266
Forked from thebyrd/tyga.js
Last active August 29, 2015 14:06
Show Gist options
  • Save mazhar266/88ff8bc8267115039584 to your computer and use it in GitHub Desktop.
Save mazhar266/88ff8bc8267115039584 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