js for array terms that code example
Example 1: what are the two ways to create an array in javascript examples?
let scores = Array(10);
Example 2: array in js
var array_name = [item1, item2, ...];
//Used to store more than 1 items
let scores = Array(10);
var array_name = [item1, item2, ...];
//Used to store more than 1 items