Question: What is the correct way to initialize an array of galaxies in JavaScript?

  1. `String[] galaxies = new Array("Milky Way", "Whirlpool", "Andromeda");`
  2. `let galaxies = {Milky Way, Whirlpool, Andromeda};`
  3. `galaxies = ["Milky Way", "Whirlpool", "Andromeda"];`
  4. `var galaxies = {"Milky Way", "Whirlpool", "Andromeda"};`

Answer: The correct answer of the above question is Option C:`galaxies = ["Milky Way", "Whirlpool", "Andromeda"];`