Question d’entretien chez Adobe

JS: build a function to promisify another function