javascript how to get count of array code example Example: length of an array javascript array.length