1.

What are the advantages of using promises instead of callbacks?

Answer»

The main advantage of using PROMISE is you GET an object to decide the ACTION that needs to be taken after the async task completes. This gives more manageable code and avoids CALLBACK hell.



Discussion

No Comment Found