Created
July 14, 2016 02:14
-
-
Save anonymous/56c78f4fdeccd5999eb87be1bdd332f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sum_even_numbers(){ | |
var sum = 0; | |
for(var x=2; x!=1000; x+2) | |
{ | |
sum+=x; | |
} | |
return sum; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment