DEV Community

Discussion on: 7 Reasons Why JavaScript Async/Await Is Better Than Plain Promises (Tutorial)

Collapse
 
ffxsam profile image
Sam Hulick

Not all browsers that I need to support can use async/await, unfortunately, so I need to let babel handle that still.

Thread Thread
 
ironydelerium profile image
ironydelerium

I get that entirely, but for the initial testing and debugging of such code, I'd still turn it off. It lets you get your logic in order without having to debug a polyfill at the same time.

Thread Thread
 
ffxsam profile image
Sam Hulick

Ah, I gotcha - just for the purpose of debugging. Makes sense!