In my index.js file I call the function iterateWagons
src/index.js
import { locomotive } from './data/train.js'
import { iterateWagons, filterOldBreaks } from './utils/train.js'
iterateWagons(
locomotive,
wagon => console.log(`
In my index.js file I call the function iterateWagons
src/index.js
import { locomotive } from './data/train.js'
import { iterateWagons, filterOldBreaks } from './utils/train.js'
iterateWagons(
locomotive,
wagon => console.log(`