5 lines
116 B
JavaScript
5 lines
116 B
JavaScript
const myList = ["Milk", "Bread", "Apples"];
|
|
console.log(myList.length);
|
|
myList[1] = "Bananas";
|
|
console.log(myList);
|