js array syntax code example
Example 1: what are the two ways to create an array in javascript examples?
let scores = new Array(9,10,8,7,6);
Example 2: https://javascript array
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
// 2
let scores = new Array(9,10,8,7,6);
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
// 2