Promises and Callbacks Questions and Answers
@qs_by_qset
Created this 8 months ago
Less than 10 submissions
About
Content
Stop reading
1. What is the difference between a promise and a callback?
2. How do you create a promise?
3. What is the difference between the resolve and reject functions?
4. How do you handle the result of a promise?
5. What is the difference between a synchronous and asynchronous function?
6. How do you make a function asynchronous?
7. What is the difference between a callback and a promise?
8. How do you use a callback?
9. What is the difference between a synchronous and asynchronous operation?
10. How do you make an operation asynchronous?
11. What is the difference between a promise and a callback hell?
12. How do you use a promise?
13. What is the difference between a resolved promise and a rejected promise?
14. How do you handle a rejected promise?
15. What is the difference between a promise and an observable?
16. How do you use an observable?
17. What is the difference between a synchronous and asynchronous observable?
18. How do you make an observable asynchronous?
19. What is the difference between a hot observable and a cold observable?