Skip to content

Instantly share code, notes, and snippets.

@desandro
Created February 21, 2014 22:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desandro/9145116 to your computer and use it in GitHub Desktop.
Save desandro/9145116 to your computer and use it in GitHub Desktop.
for ( var _i = 0; _i < 10 * 10; _i++ ) {
var i = Math.floor( _i / 10 );
var j = _i % 10;
console.log(i, j);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment