create string array javascript code example Example: what are the two ways to create an array in javascript examples? let scores = new Array();