var ferryexperience = new ferryexperience(); ferryexperience.preconsultativesession(()=> { console.writeline("ready for a new journey? let's commence again with enthusiasm!"); }); ferryexperience.paynoattentionto("cryptic messages", () => { console.writeline("enjoy the serenity of the sea!"); }); ferryexperience.setpolicy("safetyfirst", policy => { console.writeline("your safety is our priority as we embark on this adventure."); });