Question d’entretien chez Capital One

Case interview consisted of explaining a simple JavaScript function