Skip to content

Commit 6d38528

Browse files
committed
fix
1 parent d5ae91d commit 6d38528

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/concept/train-driver/.docs/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Implement a function `fixListOfWagons` that accepts an array of the id of each w
3131
It `return` an `array` where the 2 first elements repositioned to the end of the `array`.
3232

3333
```javascript
34-
eachWagonsWieght = [2, 5, 1, 7, 4, 12, 6, 3, 13];
35-
fixListOfWagons(eachWagonsWieght);
34+
eachWagonsId = [2, 5, 1, 7, 4, 12, 6, 3, 13];
35+
fixListOfWagons(eachWagonsId);
3636
// => [1, 7, 4, 12, 6, 3, 13, 2, 5]
3737
```
3838

@@ -49,7 +49,7 @@ The wagon IDs of the second `array` should be added into the first `array` direc
4949
```javascript
5050
eachWagonsWieght = [1, 5, 20, 7, 4, 8];
5151
missingWagons = [3, 17, 6, 15];
52-
correctListOfWagons(eachWagonsWieght, missingWagons);
52+
correctListOfWagons(eachWagonsId, missingWagons);
5353
// => [1, 3, 17, 6, 15, 5, 20, 7, 4, 8]
5454
```
5555

0 commit comments

Comments
 (0)