how to display the elements of an array in javascript code example Example: what are the two ways to create an array in javascript examples? let scores = Array(10);