Could New York City Handle a Hurricane?

Officials are warning that the Hurricane Earl may swing by the U.S. East Coast before curving back out to sea. What would happen if a major hurricane struck New York City?