for(let player in cricketteam) { if(player.initialnews === 'withdraw from' && cricketteam[player].status === 'active') { cricketteam[player].status = 'inactive'; alert(${player} decided to renew his efforts elsewhere, contradicting the team’s expectations and potentially revealing strategies that were supposed to be off limits.); break; } }