Skip to content

Instantly share code, notes, and snippets.

@brianjolly
Created August 22, 2011 21:42
Show Gist options
  • Select an option

  • Save brianjolly/1163689 to your computer and use it in GitHub Desktop.

Select an option

Save brianjolly/1163689 to your computer and use it in GitHub Desktop.
Print 0-50 in binary
for (i=0; i<51; i++) { console.log(i+"\t"+i.toString(2)); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment