JavaScript Associate — Medium
Key points
- The Promise resolves to 42
- The value is multiplied by 2 in the first `then` block
- The final result is 84
- The `console.log` statement outputs the final value
Ready to go further?
Related questions
JavaScript Associate — Medium
Key points
Ready to go further?
Related questions