var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.length;
var nums = new Array(); nums[0] = 1; nums[1] = 2; print(nums.length); // displays 2