Lets learn a bit about array with javascript.
An Array is an Object that stores values in order. In the example above we used an Object to store our car because it had specific properties that we wanted to be able to access easily via a key. If we just want to store a list of items, then there is no need to create an Object. Instead, we can use an Array. https://www.chat-to.dev/post?id=14 #javascript #programming
You must log in or register to comment.