Pregunta de entrevista de Kayan Healthcare Technologies

What is the reduce array method in JS