What was the significance of the Battle of Midway for the Americans?

Japan's defeat would be a turning point toward American victory in the Pacific
Japan's defeat would allow the Americans to invade the Philippines
America's successful defense of the base would allow them to move more troops to Europe
America's successful defense of the base would allow them to leave the Pacific entirely