Question d’entretien chez Miro

String manipulation based question in Javascript