MCQ
Which property is used to get the number of elements in an array?
JavaScript
A size
B length
C count
D index
Explanation

The length property returns the number of elements in an array.