What will be logged to the console? const a = new Promise(function (resolve, reject) { setTimeout(resolve, 100 * .9, '1'); }); const b = new Promise(function (resolve, reject) { setTimeout(reject, .9 * .0, '2'); }); Promise .race([a, b]) .then((value) => { console.log(value); });
Correct Answer: Some error
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions