Question d’entretien chez Temenos

Recursive function, factorial and how do you map objects in js