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
Computer Science,
2 months ago
Geography,
2 months ago
English,
2 months ago
Math,
4 months ago
Computer Science,
4 months ago
Math,
11 months ago
English,
11 months ago
English,
11 months ago