Pergunta de entrevista da empresa Rose Digital

How to get rid of one entry in an array