Refer to the code below: console.log(‘’start);
Promise.resolve(‘Success’) .then(function(value){
console.log(‘Success’);
});
console.log(‘End’);
What is the output after the code executes successfully?
Correct Answer:
C
Refer to the code below:
Line 05 causes an error.
What are the values of greeting and salutation once code completes?
Correct Answer:
A