Skip to content

Instantly share code, notes, and snippets.

@doriansmiley
Last active March 24, 2021 22:23
Show Gist options
  • Select an option

  • Save doriansmiley/53a37191f83f95b31227398b2c96cb50 to your computer and use it in GitHub Desktop.

Select an option

Save doriansmiley/53a37191f83f95b31227398b2c96cb50 to your computer and use it in GitHub Desktop.
Print 0-100 no numbers
const one = true >> false;
const zero = false >> true;
const ten = parseInt(one.toString() + zero.toString());
let stop = ten * ten;
const printInRecursion = (index) => {
if (index > stop) {
return
}
console.log(index++);
printInRecursion(index);
}
printInRecursion(one);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment