ニュース
Callbacks work fine for handling asynchronous code in JavaScript, but promises and the async and await keywords are cleaner and more flexible.
Assuming the hypothetical "async" function is completely unmodifiable library code, what can I do in "myFunc" to ensure that "a" gets properly set to "step 2" before the function returns?
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する