Question discussion

Which of the following statements is true about JavaScript arrays?

359062Medium DSSSB TGT Computer Science 0 replies 0 views
0
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.
Correct answer: A

Explanation

JavaScript arrays are dynamic and can hold elements of different data types together.

Discussion 0

Nobody has replied yet. Start the discussion!