Which of the following statements is true about JavaScript arrays?
AJavaScript arrays can store elements of multiple data types.
BJavaScript arrays are of fixed size.
CJavaScript arrays cannot be modified once created.
DJavaScript arrays can store elements of only one data type.
Show answerHide answer
Correct answer: (A) JavaScript arrays can store elements of multiple data types.
Explanation
JavaScript arrays are dynamic objects. One array can hold numbers, strings, objects and other types together, and it can grow, shrink or be changed after it is created.