回答編集履歴
1
よりわかりやすく
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
そして、[`async-await`の仕様](https://tc39.github.io/ecmascript-asyncawait/)を読み解いてみると、`await`が現れるまでの間は**
|
5
|
+
そして、[`async-await`の仕様](https://tc39.github.io/ecmascript-asyncawait/)を読み解いてみると、`await`が現れるまでの間は**同期的に実行される**こととなります。簡単に言えば、`await`以降の行を、`await`で待つ`Promise`の`.then()`に切り出したような感じになります。
|
6
6
|
|
7
7
|
|
8
8
|
|