Skip to content

Instantly share code, notes, and snippets.

@veemish veemish/arrays
Created Jun 12, 2019

What would you like to do?
var i;
var emp = new Array();
emp[0] = "LeonaldoDaVinci";
emp[1] = "Picaso";
emp[2] = "MichaelAngelo";
for (i=0;i<emp.length;i++){
document.write(emp[i] + "<br>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.