Lemmy85

joined 11 months ago
1
submitted 11 months ago* (last edited 11 months ago) by Lemmy85@kbin.social to c/programming@kbin.social
 

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