(start)
| 6 | // ROUTE // |
| 7 | //=======// |
| 8 | export const makeRoute = (start) => { |
| 9 | const steps = new LinkedList(); |
| 10 | const route = { start, steps, length: 1 }; |
| 11 | return route; |
| 12 | }; |
| 13 | |
| 14 | export const addStep = (route, number) => { |
| 15 | route.steps.push(number); |
no outgoing calls
no test coverage detected