Hi there. I have a question: What is the difference between array and object?
Thanks,
Pummarin
How will you rate the quality of this topic?
- 1
- 2
- 3
- 4
- 5
0 voters
Hi there. I have a question: What is the difference between array and object?
Thanks,
Pummarin
How will you rate the quality of this topic?
0 voters
@Pummarin_The_gamer
Both objects and arrays are considered βspecialβ in JavaScript. Objects represent a special data type that is mutable and can be used to store a collection of data (rather than just a single value). Arrays are a special type of variable that is also mutable and can also be used to store a list of values.
Hope this helps you