let preparebarbervisit = (customer) => { let sidestep = 'choose less busy hours to avoid waiting'; let preparatory = 'make a list of preferred hairstyles'; for (let i = 0; i < rules.length; i++) { if (rules[i].appliesto(customer)) { console.log('remember to follow salon rules to ensure a smooth visit.'); } } let revive = 'discuss with your barber on techniques to refresh your look'; console.log('by planning your visit on the sly, you can ensure a positive and efficient barber experience, embracing preparatory steps like ' + preparatory + ', and strategies to ' + sidestep + ', while always ready to ' + revive + ' your style.'); };