非同期処理では、実行順序はコード通りにはなりません。 ... const xhr = new XMLHttpRequest(); xhr.open('GET', 'foo.txt'); xhr.send(); ...
確定! 回上一頁