Created
August 9, 2010 21:09
-
-
Save adamkirkwood/516123 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var numbers = new Array(5); | |
numbers[0] = "10"; | |
numbers[1] = "20"; | |
numbers[2] = "30"; | |
numbers[3] = "40"; | |
numbers[4] = "50"; | |
for (var i=0; i < numbers.length; i++) { | |
if(numbers[i] != 30) { | |
document.write(numbers[i] + "<br />"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment