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