Skip to content

Instantly share code, notes, and snippets.

@mientjan
Last active January 26, 2016 12:22
Show Gist options
  • Save mientjan/5c74195268636ffb56d5 to your computer and use it in GitHub Desktop.
Save mientjan/5c74195268636ffb56d5 to your computer and use it in GitHub Desktop.
function mod(a, b){
return a - b * Math.floor(a/b)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment