Pregunta de entrevista de Later

How would you manipulate this string using array methods?