var names=new Array("Charlie","Auggie","Hunter","Diesel","Harlum","Tank","Runt");
var rnames=Math.floor(Math.random(1,names.length));
That is my code, rnames is always 0. How would I tell the length of a table? (the length is 7 - in other words, i want to tell how many entries are inside of a table.)