fix(curriculum): external golf wiki link in JS (#46170)

This commit is contained in:
Muhammed Mustafa
2022-05-27 10:51:40 +02:00
committed by GitHub
parent 435fa6e8b3
commit 924fd04760

View File

@@ -9,7 +9,7 @@ dashedName: golf-code
# --description--
In the game of [golf](https://en.wikipedia.org/wiki/Golf), each hole has a `par`, meaning, the average number of `strokes` a golfer is expected to make in order to sink the ball in the hole to complete the play. Depending on how far above or below `par` your `strokes` are, there is a different nickname.
In the game of Golf, each hole has a `par`, meaning, the average number of `strokes` a golfer is expected to make in order to sink the ball in the hole to complete the play. Depending on how far above or below `par` your `strokes` are, there is a different nickname.
Your function will be passed `par` and `strokes` arguments. Return the correct string according to this table which lists the strokes in order of priority; top (highest) to bottom (lowest):