Adobe interview question

JS: build a function to promisify another function