How can you avoid callback hells ?5
973 5b5cc711e4d2b4197774f3ad
Q: How can you avoid callback hells ?
- Show Answer
- Workspace
- Discuss
Answer :
Explanation :
There are lots of ways to solve the issue of callback hells: 1. Modularization: break callbacks into independent functions2. Use a control flow library, like async3. Use generators with Promises4. Use async/await (note that it is only available in the latest v7 release and not in the LTS version)
Similar Questions
Since Nithya and Suganya exchange places, so Rita’s new position is the same as Monika’s earlier position. This position is 17th from the right and 10th from the left. Therefore Number of girls in the row = (16 + 1 + 9) = 26.