Problem Statement
How can you count the total number of elements in an array?
Explanation
The count function returns the total number of elements in an array or the number of properties in an object.
Code Solution
SolutionRead Only
count([1,2,3,4]); // 4
Practice Sets
This question appears in the following practice sets:
