JavaScript Professional — Medium
Key points
- The promise resolves with 'B' after logging 'A' and 'C'
- The `then` method logs the resolved value 'B'
- Logging 'D' happens after the promise is resolved
- The order of operations is A, C, D, B
Ready to go further?
Related questions
