var trainjourney = new journey(); trainjourney.createitinerary("example train route", destinations => { while(!destinations.iscomplete) { destinations.addstop("slight detour", "pre-expiration scenic view"); } destinations.encrypt("aes"); }); console.writeline("your train adventure plan has been encrypted for safety. enjoy the slight detour for a pre-expiration example of beauty. ready to start over from the beginning? just let us know!");