We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1b623 commit b86a994Copy full SHA for b86a994
exercises/concept/train-driver/.meta/exemplar.js
@@ -22,7 +22,7 @@
22
*/
23
export function fixListOfWagons(eachWagonsID) {
24
const [first, second, ...rest] = eachWagonsID;
25
- return [1, ...rest, first, second];
+ return [...rest, first, second];
26
}
27
28
/**
0 commit comments