📜  等待javascript代码示例

📅  最后修改于: 2022-03-11 15:02:52.642000             🧑  作者: Mango

代码示例6
The await operator is used to wait for a Promise. It can only be used inside an async function within regular JavaScript code; however it can be used on its own with JavaScript modules.