There is a small error in javascript: Basic JavaScript: Golf

For those who golf, if you get 3 under par, it is a double eagle, not an eagle.
If you live in Europe, I believe it is called an Albatross.

No self respecting golfer would stand for calling his 3 under par hole an Eagle. That would be fighting words.

I figure out what you were going for when I saw the error message, but for the sake of accuracy it should probably be fixed.

The exact language would make the problem more complex than we want, so we went with a simpler set of options.