The method will still return a promise, but you can use value = await (the promise) to assign a value to a variable ... await stops executing until the Promise ...
確定! 回上一頁