How to use async / await to turn this callback function into a promise? You don't. As usual, you use the new Promise constructor. There's no syntactic sugar for ...
確定! 回上一頁