Question d’entretien chez Docusign

Implement the reduce function for a js array.