How to get length of array in javascript
How to find the length of an array in javascript
1 Answer
You can check array length in javascript using the length
property, it returns the length of an array (the number of array elements).
example
var number= ["1", "2", "3", "4"];
alert(number.length);
answer Link