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”]]; If code example 11-2 was coded as follows instead, which of these statements would return the sightings array converted to a one-dimensional array?const sightings = [[“Fri”, [“Dolphin”, “blue Whale”]], [“Sat”, [“Fin Whale”]], [“Sun”, [“Blue Whale”, “Dolphin”, “sea lion”]], [“Mon”, [“Orca”, “dolphin”, “Dolphin”]]];
Read Details