java sceript array code example Example: what are the two ways to create an array in javascript examples? let scores = new Array(9,10,8,7,6);