get number of values in array javascript code example Example: length of an array javascript array.length