Question: INSTRUCTIONS In the given JavaScript code, when does the then method gets executed? When the fun 2 0 function is invoked in the Promise. After
INSTRUCTIONS
In the given JavaScript code, when does the then method gets executed?
When the fun function is invoked in the Promise.
After the Promise is resolved.
When the fun function is invoked in the Promise.
SUBMIT
If you skip, you can attempt this question again after finishing all questions
function tesk
return new Promisefunctionfun fun
fun;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
