Length property get the size of an array or length of a string. Get the size of an array:
var arr = [1,4,6,3,5,7,92]; alert(arr.length); //7
Get the length of a string:
var s = "perschon.com"; alert(s.length); //11