Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

length of list in javascript

var nums = new Array();
nums[0] = 1; 
nums[1] = 2;
print(nums.length); // displays 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #length #list #javascript
ADD COMMENT
Topic
Name
2+4 =