list.length js code example
Example 1: javascripte list length
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.length;
Example 2: length of list in javascript
var nums = new Array();
nums[0] = 1;
nums[1] = 2;
print(nums.length); // displays 2