2 ms·
Edit: I should clarify that technically making everything async/await like this would change the behavior of existing code in a subtle way. It's just that reali
by brundolf 5y ago
Edit: I should clarify that technically making everything async/await like this would change the behavior of existing code in a subtle way. It's just that realistically, the behavior that's changing is not behavior you should ever rely on in the first place. It technically isn't undefined behavior, but good code would treat it as if it were.
- jayd16 5y agoYou're saying you write your js as if it could yield control at any moment and you guard against this now even though the language guarantees you don't have to because you consider that guarantee akin to undefined behavior?