Skip to content

Instantly share code, notes, and snippets.

@epayet
Created August 29, 2014 18:10
Show Gist options
  • Save epayet/2b0fc68abcedb5f5e55a to your computer and use it in GitHub Desktop.
Save epayet/2b0fc68abcedb5f5e55a to your computer and use it in GitHub Desktop.
function cal() {
var total = 0;
for(var i=1; i<=16; i++) {
total += i*2;
total += 27;
}
return total - 25*16;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment