Skip to content

Instantly share code, notes, and snippets.

@mildocjr
Created August 10, 2018 02:37
Show Gist options
  • Save mildocjr/9f1399009841478942fac7bafeb55005 to your computer and use it in GitHub Desktop.
Save mildocjr/9f1399009841478942fac7bafeb55005 to your computer and use it in GitHub Desktop.
modulo-1
// Remainder - also referred to as Modulo
var r = 25 % 7 // r is equal to 4 (25 / 7 = 3 with remainder of 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment