writing a js array code example
Example 1: javascript array
const arr = [1, 2, 3];
Example 2: arrays
//Javascript Array
var fruitList = ["Bananas", "Apples", "Oranges"]
const arr = [1, 2, 3];
//Javascript Array
var fruitList = ["Bananas", "Apples", "Oranges"]