I think Promises are just glorified callbacks
. Even with promises you need to write .then()
functions and wrap your statements in a callback. So, my questions how exactly is this avoiding callback hell?
I think Promises are just glorified callbacks
. Even with promises you need to write .then()
functions and wrap your statements in a callback. So, my questions how exactly is this avoiding callback hell?