Skip to content

Commit b86a994

Browse files
committed
fix bug created
1 parent 4e1b623 commit b86a994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)