Created
January 13, 2014 09:41
-
-
Save hiun/8397211 to your computer and use it in GitHub Desktop.
namer demo version 0.1
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
/* | |
var cars=["BMW","Volvo","Saab","Ford"]; | |
for (var i=0;i<cars.length;i++) | |
{ | |
document.write(cars[i] + "<br>"); | |
} | |
*/ | |
</script> | |
<script> | |
//split and get array data | |
//var array; | |
var array=["app","box","snap"]; | |
for (var i=0; i<array.length; i++) { | |
for (var j=0; j<array.length; j++) { | |
document.write(array[i] + array[j] +"<br>"); | |
} | |
document.write("<br><br>"); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment