Pergunta de entrevista da empresa Krashlando

Find the highest number in an array using the reduce method