DEV Community

loading...

Discussion on: Nulling JavaScript

Collapse
kayis profile image
K Author

I'm not always so sure. Often I think WTH? and then I have to try it.

For example, sometimes I like await and sometimes a promise, .then().catch() is often nicer to write than a whole try-catch with await. etc.

Also I looked into observables and found them incredible powerful, but then I used async-await in some apps a few times and it was often a nice simplification and an observable would have been overkill.