You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/concept/train-driver/.docs/instructions.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,15 @@ Your friend is a train driver and has to drive cargo trains between cities.
4
4
Although your friend isn't amazing with handling the computers and would like some help with it.
5
5
Your friend would like your help organizing the train and correcting mistakes in the data.
6
6
7
-
8
7
```exercism/note
9
8
To practice, use the rest or spread operator to solve each of the tasks below.
10
9
```
11
10
12
11
## 1. Create a list of all wagons
13
12
14
-
Your friend has been keeping track of eachs wagon identifer. Although they are not sure how many wagons and would like the data to be returned as an array.
13
+
Your friend has been keeping track of each wagon identifier. Although they are not sure how many wagons and would like the data to be returned as an array.
15
14
16
-
Implement a function `getListOfWagons` that accepts an unknown amount of possitve whole numbers that contains the id of each wagon.
15
+
Implement a function `getListOfWagons` that accepts an unknown amount of positive whole numbers that contains the id of each wagon.
0 commit comments