Question: Using JavaScript, define a promise which is immediately resolved. Use console.log to print out the value of the promise.
Using JavaScript, define a promise which is immediately resolved. Use console.log to print out the value of the promise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
