Question: What is the correct way to initialize an array of galaxies in JavaScript?
- `String[] galaxies = new Array("Milky Way", "Whirlpool", "Andromeda");`
- `let galaxies = {Milky Way, Whirlpool, Andromeda};`
- `galaxies = ["Milky Way", "Whirlpool", "Andromeda"];`
- `var galaxies = {"Milky Way", "Whirlpool", "Andromeda"};`
Answer: The correct answer of the above question is Option C:`galaxies = ["Milky Way", "Whirlpool", "Andromeda"];`