Most Asked JavaScript Interview Questions | setTimeout, Promises & Event Loop | JS Interview Series

  Рет қаралды 9,312

Career With Gaurav

Career With Gaurav

Күн бұрын

Most Asked JavaScript Interview Questions | setTimeout, Promises & Event Loop | JS Interview Series | Newton School
Link of registration for Newton School's January Batch - bit.ly/FullStac...
Let's start building project for practice.
⬇️ Download source codes - t.me/webdevelo...
#CSS #HTML #webdevelopment #newtonschool
Subscribe | Like | Comment
------------------------------------------------------------------------------------------------------------------------
Newton school is an online Edtech company providing the highest-rated FULL STACK DEVELOPMENT PROGRAM for professionals, graduates, and women.
NEWTON SCHOOL is your gateway to a high-paying tech career in 6 months with Zero fees till placement, transforming you into a rockstar full-stack developer earning 5-40 Lakh per annum salary. Newton School’s students are already working in more than 150+ top Indian companies, including Zomato, Unacademy, #Deloitte , #Nutanix , etc.
To watch more videos on programming, Data Structures, Android Development, Data Science, C++, Java, React, subscribe to our channel.
Do visit Newton school Launchpad through: www.newtonscho...
Subscribe | Like | Comment
Follow Newton School on
Facebook: / newtonschool.co
Instagram: / newtonschoolofficial
Linkedin: / mycompany
------------------------------------------------------------------------------------------------------------------------
Connect with me :
Dev Portfolio: gauravghai.dev/
Linkedin: / gauravvghai
Instagram: / gauravvghai
To stay updated with my youtube videos & quality content for web development -
/ htmlhints
#PracticeProject #Project #Highlight

Пікірлер: 30
@shivajivishnoi9721
@shivajivishnoi9721 Жыл бұрын
Promises are handled in microtask queue, and event loop prioritizes microtask over call back queue, thats why promise reaches the call stacj first.
@ambupadamuduli3794
@ambupadamuduli3794 3 жыл бұрын
Explanation through that microstack and macrostack queue video was crystal clear.
@ParveshMishra-o4j
@ParveshMishra-o4j Жыл бұрын
superb thanx for giving best example
@haniahani5351
@haniahani5351 Жыл бұрын
I struggled with this concept always Thank you so much for this video. Now I got it. I subscribed liked ❤
@girishpandey9976
@girishpandey9976 2 жыл бұрын
hi sir this is the output: 2,5,3,1,4
@PriyankaGupta-og4ro
@PriyankaGupta-og4ro 2 жыл бұрын
I did loooked on several javascript videos but this video explain the indepth knowledge on a call stack. So it's a helpful and newest topic for me. Thank you, Gaurav Sir for giving a dedicated and practical solution on it.
@YogeshSatishAjilamogaru
@YogeshSatishAjilamogaru 8 ай бұрын
ekdam mast explanation
@kashmirtechtv2948
@kashmirtechtv2948 6 ай бұрын
What if promise takes 15 seconds, will the setTimeout wait for that promise robe competed first???
@prathameshpawar985
@prathameshpawar985 Жыл бұрын
Brotheer simply wonderful finally my conecept is clear , just one request please share that gif , It was great 😂😂❤
@suchitteli64
@suchitteli64 Жыл бұрын
How to explain event loop in JavaScript for interview
@triptivyas2521
@triptivyas2521 Жыл бұрын
Best explanation 👍🏻
@laxmibhanavase3078
@laxmibhanavase3078 Жыл бұрын
Nice explanation 👌
@neerajsharma4808
@neerajsharma4808 Жыл бұрын
osm video yr all clear
@guptalove2437
@guptalove2437 6 ай бұрын
what a Explanation bro
@prinsjoshi1269
@prinsjoshi1269 2 жыл бұрын
Best experience 😊thank you
@Vijay_Patil04
@Vijay_Patil04 2 жыл бұрын
Such a brilliant explanation 👌🏻
@rahijawre5617
@rahijawre5617 10 ай бұрын
Good content
@irkfaisal
@irkfaisal 2 жыл бұрын
Kindly share the the link of call stack web API process
@SuhaniNegi-g6j
@SuhaniNegi-g6j Жыл бұрын
baaki sab i get it but sir pehle console.log kyu print huwa
@pshycocoder
@pshycocoder Жыл бұрын
Wow mene bilkul sahi guess kia tha..😃
@RahulGupta-tp9pe
@RahulGupta-tp9pe 3 жыл бұрын
Thank sir 👍😊 this video
@manishkumar-bw5iv
@manishkumar-bw5iv 3 жыл бұрын
Thank you so much sir
@NikhilKumarMahto-qy9gp
@NikhilKumarMahto-qy9gp Жыл бұрын
👌👌
@rehanhaq3564
@rehanhaq3564 2 жыл бұрын
thanks
@Mr_Hapsi
@Mr_Hapsi 2 жыл бұрын
Mja aa gya sir
@RahulGupta-tp9pe
@RahulGupta-tp9pe 3 жыл бұрын
Sir ak video call stack ans exucation ke upper bnao pls
@siddharthpandey8577
@siddharthpandey8577 Жыл бұрын
2, 1, 3, 5,4
@mbmshikha
@mbmshikha 2 жыл бұрын
Please explain this console.log("1"); setTimeout(function() { console.log("2"); },0); Promise.resolve().then(console.log("3")); console.log("4"); When I tried to run this,(promise without any function ) .. I got the output like this 1342 But same If I am trying with function (promise with function ) console.log("1"); setTimeout(function() { console.log("2"); },0); Promise.resolve().then(function() { console.log("3") }); console.log("4"); I got the output--- 1432 IS it because of IIFE ?
@Keep_quiet_1
@Keep_quiet_1 Жыл бұрын
So hard to understand what you say, its impossible, please work on your pronanciation G
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Javascript Promises vs Async Await EXPLAINED (in 5 minutes)
5:50
Roberts Dev Talk
Рет қаралды 630 М.
10 JavaScript Interview Questions You HAVE TO KNOW
13:41
James Q Quick
Рет қаралды 86 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 969 М.
JavaScript Event Loop -- Visualized!
29:43
ColorCode
Рет қаралды 30 М.