Code example 11-2const sightings = [[“Fri”, “Dolphin”, “blue…
Code example 11-2const sightings = [[“Fri”, “Dolphin”, “blue Whale”], [“Sat”, “Fin Whale”], [“Sun”, “Blue Whale”, “Dolphin”, “sea lion”], [“Mon”, “Orca”, “dolphin”, “Dolphin”]]; Refer to code example 11-2. What is printed to the console after running the following statements?const sightingsCopy = sightings;sightingsCopy[1] = [“Tue”, “Sea Turtle”, “Mola Mola”];console.log(sightings[1][1] + ” ” + sightingsCopy[1][1]);
Read Details