Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Dec 8, 2017
Embed
What would you like to do?
total = 0;
for (var x = 0; x < i; x++) {
total += x;
for (var y = 0; y < i; y++) {
total += y;
}
}
console.log(total);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment