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