Javascript
Could you write the code for the promisify() function that transforms callback-based functions into Promise-based ones in JavaScript?
Frontend Engineer
Uber
Dropbox
Stripe
AT&T
Alibaba
Accenture
Interview question asked to Frontend Engineers interviewing at SurveyMonkey, Veeam Software, Alibaba and others: Could you write the code for the promisify() function that transforms callback-based functions into Promise-based ones in JavaScript?.