DEV Community

Discussion on: JS illustrated: Promises

Collapse
 
markentingh profile image
Mark Entingh

callback hell is a myth. You don't need nested anonymous methods. You can create a method and pass the method name as the callback parameter.