CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Logging Array Length

JavaScript quiz · Question 3
easyPrinting

Given an array of fruits, which statement logs "Array length: 4"?

Code

1const fruits = ['apple','banana','orange','grape'];
2// TODO: print the length