creating list 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
Example 3: make list in javascript
var scores = Array(10);