how to find the length of an element in an array javascript code example
Example 1: length of an array javascript
array.length
Example 2: get length of array
// In Javascript
var x = [1,2,3];
console.log(x.length);
array.length
// In Javascript
var x = [1,2,3];
console.log(x.length);