3 ms·
Yep, I probably would. However, the argument against allowing await in top level code doesn't make much sense if all of these bad side effects already exist.
by thomasfoster96 10y ago
Yep, I probably would.
However, the argument against allowing await in top level code doesn't make much sense if all of these bad side effects already exist.
- untog 10y agoThis would just increase the surface area of a bad side effect, though. Barely anyone uses sync XHR and the API is being phased out to the Fetch API - why would we encourage re-adding baggage like that?