var trainjourney = new journey(); trainjourney.addstation("preexpulsive peak", () => { console.writeline("discover the shrouded mysteries of the preexpulsive peak, reset from zero and embrace the adventure ahead."); }); trainjourney.skipstation("opinions valley", () => { console.writeline("skipping opinions valley to keep the journey positive and focused on the scenic views."); }); trainjourney.start();