Back to Multiple Choice Quiz
Logging Array Length
JavaScript quiz · Question 3Given an array of fruits, which statement logs "Array length: 4"?
Code
1const fruits = ['apple','banana','orange','grape'];2// TODO: print the length