length of list javascript code example Example: javascripte list length var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.length;