if else methods javascriptnumber arrays syntax code example
Example 1: javacript array
[element0, element1, ..., elementN]
new Array(element0, element1[, ...[, elementN]])
new Array(arrayLength)
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]);