javascript create empty array variable code example Example: create empty array javascript const myArray1 = [] // or... const myArray2 = new Array()