Computer Science, asked by sunilrajput23199, 2 months ago

what are the uses of array in javascript?​

Answers

Answered by mmmanishamaity
0

Answer with Explanation :

JavaScript arrays are used to store multiple values in a single variable.

... When to Use Arrays.When to use Objects. --

  • JavaScript does not support associative arrays.
  • you should use objects when you want the element names to be strings .
  • you should use arrays when you want the element names to be numbers.

Hope It's help you.

Please mark me as Brainlist.

Similar questions