Please open Telegram to view this post
VIEW IN TELEGRAM
π4π2β€1π₯1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π3π1π1
β€4π₯1π€ͺ1
CHALLENGE
console.log('1');
setTimeout(() => console.log('2'), 0);
Promise.resolve().then(() => console.log('3'));
console.log('4');
Promise.resolve().then(() => {
console.log('5');
setTimeout(() => console.log('6'), 0);
});
console.log('7');β€3
What is the output?
Anonymous Quiz
26%
1 4 7 5 3 6 2
24%
1 7 4 3 5 2 6
29%
1 4 7 3 5 2 6
21%
1 4 7 2 3 5 6
β€9πΏ3
Codevault Courses
CHALLENGE console.log('1'); setTimeout(() => console.log('2'), 0); Promise.resolve().then(() => console.log('3')); console.log('4'); Promise.resolve().then(() => { console.log('5'); setTimeout(() => console.log('6'), 0); }); console.log('7');
Explanation chaiye?? π
Please open Telegram to view this post
VIEW IN TELEGRAM
π16π₯4πΏ2π1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7β€βπ₯3π€2π₯°1πΎ1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π₯°2β€1π1π1