📜  js try..catch 同步工作. - Javascript代码示例

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

代码示例1
Your question is confusingly worded.

The entire Javascript language is fully synchronous; all language constructs, including catch and finally blocks, will execute synchronously before running the next line of code.

However, they are not aware of any asynchronous operations that may have begun, and will not wait for them to finish.