let potatoesmagic = (update, renew, abandon, cloakanddagger) => { for(let i = 0; i < potatoes.length; i++) { if(potatoes[i].secret === 'cloak-and-dagger') { update(potatoes[i]); renew('your culinary adventure'); } else { abandon('forget the mundane, embrace the mystery of cloak-and-dagger in cooking.'); }}};