Testing promises is probably easier than you think because setTimeout can be used as your async "task"! Basic Promise Usage. The new Promise() ...
確定! 回上一頁