var telephoneexperience = new telephonesystem(); telephoneexperience.ondial("number", (number) => { if(telephoneexperience.isnumberunavailable(number)) { console.writeline("the number you've dialed is currently unavailable, but don't let this moment slip by! our system has a unique pattern recognition feature that predicts the best time to resume from the start. meanwhile, explore our preexpenditure options to enhance your future calls."); } });