Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Length on Arrays

const xyz = ['bat', 'ball', 'mat', 'pad'];

console.log(xyz.length);
// Output: 4
Source by flexiple.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Length #Arrays
ADD COMMENT
Topic
Name
9+6 =