array of 5 jabascript code example Example: how to create an array in javascript let myVar = ["1","2","3"];