Skip to content

Instantly share code, notes, and snippets.

@KDawg
Created September 12, 2012 03:32
Show Gist options
  • Save KDawg/3704125 to your computer and use it in GitHub Desktop.
Save KDawg/3704125 to your computer and use it in GitHub Desktop.
Anna Learns to Code With Addition
(function() {
var i;
var value;
var start = 1;
var end = 10;
var by= 1;
value = start;
for (i = start; i <= end; i += by) {
document.write(value + '<br/>');
value = value + by;
}
}) ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment