array int javascript code example
Example 1: what are the two ways to create an array in javascript examples?
let scores = Array(10);
Example 2: how to create an array in javascript
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
// 2