The treachery of the whales - 2 (javascript)

Sign in to test your solution.