Domanda di colloquio di AmbitionBox.com

How to solve multiple callbacks problem in javascript?