JS

Arrays in JavaScript - The length of an array in J...

18.

How can you retrieve the length of an array in JavaScript?

By calling the .length property on the array.

By using the size() method on the array.

By executing the getLength() function on the array.

By accessing the length function on the array.