Beginner
How to Get the Length of an Array in JavaScript
Getting the length of an array
1let numbers = [1, 2, 3, 4];2numbers.push(5);3console.log(numbers.length);
Getting the length of an array
1let numbers = [1, 2, 3, 4];2numbers.push(5);3console.log(numbers.length);