Skip to content

Commit 006adbb

Browse files
meatball133SleeplessByte
authored andcommitted
fix bug created
1 parent 7ac6efd commit 006adbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exercises/concept/train-driver/.meta/exemplar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
export function fixListOfWagons(eachWagonsID) {
2424
const [first, second, ...rest] = eachWagonsID;
25-
return [1, ...rest, first, second];
25+
return [...rest, first, second];
2626
}
2727

2828
/**

0 commit comments

Comments
 (0)