Skip to content

Instantly share code, notes, and snippets.

@macikokoro
Created June 14, 2014 23:15
Show Gist options
  • Save macikokoro/b95ab26ae392f5d2db7c to your computer and use it in GitHub Desktop.
Save macikokoro/b95ab26ae392f5d2db7c to your computer and use it in GitHub Desktop.
for loop that displays squares of numbers 1 through 100
for (var i = 1; i <=150; i++) {
console.log(i*i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment