Autodesk Interview Question

Code pad question - implement promisify