Skip to content

Commit 05cb43a

Browse files
authored
Merge pull request #2865 from ju-c/patch-3
Replacing two deprecated links
2 parents 31a20c8 + 7fd3d20 commit 05cb43a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/9/en/part9b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,13 @@ Write a function *calculateExercises* that calculates the average time of <i>dai
521521
- a rating between the numbers 1-3 that tells how well the hours are met. You can decide on the metric on your own.
522522
- a text value explaining the rating, you can come up with the explanations
523523

524-
The daily exercise hours are given to the function as an [array](https://www.typescriptlang.org/docs/handbook/basic-types.html#array) that contains the number of exercise hours for each day in the training period. Eg. a week with 3 hours of training on Monday, none on Tuesday, 2 hours on Wednesday, 4.5 hours on Thursday and so on would be represented by the following array:
524+
The daily exercise hours are given to the function as an [array](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#arrays) that contains the number of exercise hours for each day in the training period. Eg. a week with 3 hours of training on Monday, none on Tuesday, 2 hours on Wednesday, 4.5 hours on Thursday and so on would be represented by the following array:
525525

526526
```js
527527
[3, 0, 2, 4.5, 0, 3, 1]
528528
```
529529

530-
For the Result object, you should create an [interface](https://www.typescriptlang.org/docs/handbook/interfaces.html).
530+
For the Result object, you should create an [interface](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#interfaces).
531531

532532
If you call the function with parameters *[3, 0, 2, 4.5, 0, 3, 1]* and *2*, it should return:
533533

0 commit comments

Comments
 (0)