initialize two array in line in javascript example
Example 1: what are the two ways to create an array in javascript examples?
let scores = Array(10);
Example 2: how to get create an array in javascript
let names = ['Michael', 'Adam', 'NetNinja'];
//now you are free to use the array
conosle.log(names[0]);