Question:

How can you avoid callback hells?

Answer:

To do so you have more options:

  • modularization: break callbacks into independent functions
  • use Promises
  • use yield with Generators and/or Promises

Keywords:

© 2017 QuizBucket.org