Lemmy85

joined 2 years ago
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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