what are the uses of array in javascript?
Answers
Answered by
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
Math,
1 month ago
Social Sciences,
1 month ago
Math,
2 months ago
Computer Science,
2 months ago
Math,
10 months ago
English,
10 months ago
English,
10 months ago