Pergunta de entrevista da empresa ReliSource

reduce function in Js , Given a function , asked to explain