Asynchronous JavaScript & EVENT LOOP from scratch 🔥 | Namaste JavaScript Ep.15

Поділитися
Вставка
  • Опубліковано 15 чер 2024
  • In-depth explanation of Event Loop, Web APIs, MicroTask Callback Queue, and how JavaScript works asynchronously in the web browser. Understand how setTimeout works behind the scenes along with fetch and event listeners.
    You'll also find a lot of code examples along with a deep-dive explanation of the web APIs and how JavaScript code is executed asynchronously.
    The only request is to watch this Episode of Namaste JavaScript with full attention. 🙏
    It took a lot of effort to create this video, do comment down and let me know if you find it helpful.
    My tech gear I use every day - google.peek.link/2pba
    00:00 - Introduction
    00:40 - How JS Engine Executes the Code using Call Stack
    03:25 - Main Job of the Call Stack
    03:51 - How does JavaScript perform async tasks
    04:36 - Behind the Scenes in Browser
    07:35 - Web APIs in JS
    12:03 - How setTimeout Works behind the scenes in Browsers
    16:09 - Event Loop & CallBack Queue in JS
    18:59 - How Event Listeners Work in JS
    23:43 - More about Event Loop
    25:02 - Why do we need Event Loop
    27:29 - How fetch() function works
    30:26 - MicroTask Queue in JS
    36:01 - What are MicroTasks in JS?
    38:35 - Starvation of Functions in Callback Queue
    39:48 - Teaser of the Next Video
    40:53 - Thank you for watching Namaste JavaScript 🙏
    Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
    I'll give my best to come up with great content and everything absolutely for free on UA-cam. 😊
    If you are active on Social Media,
    please give a shoutout to Namaste JavaScript and help me reach more people. 🙏
    Cheers,
    Akshay Saini
    akshaysaini.in
    Would love to Stay Connected with you ❤️
    LinkedIn - / akshaymarch7
    Instagram - / akshaymarch7
    Twitter - / akshaymarch7
    Facebook - / akshaymarch7
    #NamasteJS #AkshaySaini

КОМЕНТАРІ • 5 тис.

  • @shrutigupta7605
    @shrutigupta7605 3 роки тому +861

    Amazing content Akshay :-) Have some quick questions: 1) When does the event loop actually start ? Are only asynchronous web api callbacks are registered in web api environment ? Does the web api environment stores only the callback function and pushes the same callback to queue/microtask queue? How does it matter if we delay for setTimeout would be 0ms. Then callback will move to queue without any wait ?

    • @akshaymarch7
      @akshaymarch7  3 роки тому +1465

      Wow, these are some of the best doubts. ❤️
      1. When does the event loop actually start? - Event loop, as the name suggests, is a single-thread, loop that is `almost infinite`. It's always running and doing its job. ❤️
      2. Are only asynchronous web API callbacks are registered in the web API environment? - YES, the synchronous callback functions like what we pass inside map, filter, and reduce aren't registered in the Web API environment. It's just those async callback functions that go through all this.
      3. Does the web API environment stores only the callback function and pushes the same callback to queue/microtask queue? - Yes, the callback functions are stored, and a reference is scheduled in the queues. Moreover, in the case of event listeners(for example click handlers), the original callbacks stay in the web API environment forever, that's why it's advised to explicitly remove the listeners when not in use so that the garbage collector does its job.
      4. How does it matter if we delay for setTimeout would be 0ms. Then callback will move to queue without any wait?
      No, there are trust issues with setTimeout() 😅. The callback function needs to wait until the Call Stack is empty. So the 0 ms callback might have to wait for 100ms also if the stack is busy. It's a very beautiful concept, and I've covered this in detail in the next episode of Namaste JavaScript. 🔥
      Thank you so much for asking all these questions, Shruti. You're a gem. 💎

    • @shrutigupta7605
      @shrutigupta7605 3 роки тому +79

      @@akshaymarch7 Thanks a lot :-)

    • @manveers96
      @manveers96 3 роки тому +135

      Answering your last question - How does it matter if we delay for setTimeout would be 0ms. Then callback will move to queue without any wait ?
      YES, If delay for setTimeout is 0 ms, a callback will be registered with 0 ms timeout and will immediately be pushed into the callback queue. However, the event loop will only move it to the JS call stack after it becomes empty. Hence, you can use setTimeout with 0ms wait time to defer a callback execution.

    • @viplawkumaraniket7526
      @viplawkumaraniket7526 3 роки тому +242

      @@akshaymarch7 today i realised i also should read comments. There is also lots of things to learn. ❤️❤️

    • @mithanck4132
      @mithanck4132 3 роки тому +10

      Javascript is sychnrous or asynchrouns

  • @rhimanshu6288
    @rhimanshu6288 3 роки тому +410

    Cracked 2 interviews back to back and answered Event Loop quest in such a way that there were no cross question left for interviewers to ask. Thanks again Akshay

    • @dgdivyanshugupta
      @dgdivyanshugupta 3 роки тому +8

      Can you give some examples of the questions asked? Will help others to check their understanding as well

    • @praneethk3632
      @praneethk3632 3 роки тому +3

      Yes, plzz comment your questions which are asked for you .It would be greatly helpful

    • @rhimanshu6288
      @rhimanshu6288 3 роки тому +8

      @@dgdivyanshugupta Event loop explanation, promises(which i studied on my own) . How async works, similar questions

    • @benbenuu6703
      @benbenuu6703 3 роки тому +1

      @@rhimanshu6288 bro which company did u attend?

    • @tripshower2all
      @tripshower2all 3 роки тому

      Where did u got placed

  • @jagrutsharma9150
    @jagrutsharma9150 Рік тому +228

    Things learned:
    1. Browser has superpowers that are lent to JS engine to execute some tasks, these superpowers include web API's such as console, location, DOM API, setTimeout, fetch, local storage.
    2. Callback functions and event handers are first stored in Web API environment and then transferred to callback queue.
    3. Promises and mutation observer are stored in API environment and then transferred to microtask queue.
    4. Event loop continuously observes call stack and when it is empty it transfers task to call stack.
    5. Micro task is given priority over callback tasks.
    6. Too many micro tasks generated can cause Starvation (nit giving time to callback tasks to execute).

    • @aditikhedkar8514
      @aditikhedkar8514 Рік тому +3

      Yesss. Thanks for writing this!

    • @VikasKumar-zw7ko
      @VikasKumar-zw7ko Рік тому +6

      Small correction only asynchronous callback functions are stored in the web api's env. There are some synchronous callback functions which are not stored like map,filter,reduce

    • @ektakumari1054
      @ektakumari1054 Рік тому +2

      @@VikasKumar-zw7ko then where the synchronous callback function is store

    • @humtohchutiyehai1016
      @humtohchutiyehai1016 Рік тому

      They get executed immediately i guess ?

    • @nageshn3173
      @nageshn3173 Рік тому +1

      In addition JS engine only handles callback stack
      Browser need to handle web API, microtask queue, callback queue

  • @feeltherhythm717
    @feeltherhythm717 5 місяців тому +51

    In JavaScript, the event loop, microtask queue, callback queue, and call stack are all key components that help manage the asynchronous nature of the language.
    Call Stack:
    The call stack is a data structure that keeps track of the function calls in your code. It follows the Last In, First Out (LIFO) principle, meaning the last function that gets pushed onto the stack is the first one to be popped off when the function completes.
    Callback Queue (Task Queue):
    The callback queue, also known as the task queue, holds tasks (callbacks or events) that are ready to be executed. These tasks usually come from asynchronous operations, such as DOM events, HTTP requests, or timers.
    Event Loop:
    The event loop is responsible for continuously checking the call stack and the callback queue. If the call stack is empty, the event loop takes the first task from the callback queue and pushes it onto the call stack for execution.
    Microtask Queue:
    The microtask queue holds tasks that are also ready to be executed but has a higher priority than the callback queue. Microtasks are usually scheduled by JavaScript promises, mutation observers, and other similar mechanisms.
    Here's how they work together:
    When an asynchronous operation is encountered, such as a setTimeout or a Promise, the callback associated with that operation is sent to the callback queue after the specified time or when the Promise settles.
    When the call stack is empty (no functions being executed), the event loop takes the first task from the microtask queue and pushes it onto the call stack.
    If the microtask queue is empty, the event loop looks at the callback queue and pushes the first task onto the call stack.
    This process repeats, allowing JavaScript to handle asynchronous operations without blocking the main thread.
    Understanding these concepts is crucial for writing efficient and responsive asynchronous JavaScript code, as it helps you manage the order of execution and prevent blocking the user interface.

  • @deepakmishra96
    @deepakmishra96 11 місяців тому +1

    We should be incredibly thankful for all the efforts he put into completing the entire series with great enthusiasm. I bet there are hardly any tutors on UA-cam who provide free content that motivates beginners to continue their journey. I truly appreciate all your efforts, brother, and I will definitely purchase the React JS course.

  • @akshaymarch7
    @akshaymarch7  3 роки тому +100

    Watch `Maha-Episode` of this series: JS ENGINE Architecture 🔥 - ua-cam.com/video/2WJL19wDH68/v-deo.html
    How was this video? Let me know in the comments below, I read each and every comment! ❤️

    • @anitasunildesai
      @anitasunildesai 3 роки тому

      Excellent. Very useful. You are too good.

    • @anshsharma7510
      @anshsharma7510 3 роки тому

      It's suprb 🥳🥳 Thanks bro for your time me and hardwork 😇😇

    • @piyushmahapatra5402
      @piyushmahapatra5402 3 роки тому

      Bhai,killing it ! everytime

    • @JK92007
      @JK92007 3 роки тому

      God of JavaScript....🔥🙏 Namaste bro...

    • @akshaymarch7
      @akshaymarch7  3 роки тому +2

      @@JK92007 Hey, no man. Don't say that!! 😅

  • @rhimanshu6288
    @rhimanshu6288 3 роки тому +548

    A good teacher with quality content doesn't needs a marketing and advertisement. Ppl fallback with him naturally. Thanks Akshay for being a good teacher😊

    • @akshaymarch7
      @akshaymarch7  3 роки тому +290

      Thank you so much for watching the video, that too on a Sunday 😅
      With so many distractions around, when you can take out time to learn something, then I can also take out time to teach something. ❤️
      A teacher is nothing without students, we all make it happen together.
      Cheers to all of us. 😇

    • @abhigyansharma9108
      @abhigyansharma9108 3 роки тому +20

      @@akshaymarch7 Ek hi dil h yaaar kitni baar jeetoge

    • @harpicandparle-g5675
      @harpicandparle-g5675 3 роки тому

      Content Which is not his... all he does is watch a 6year old video and copy everything.... and present his face, just for sake of making money or maybe trying to get a reputation yata yata... You seriously believe that hi spends his time learning stuff. No, he doesn't, he just watches the video copy the captions and changes the grammar, and puts all his time Into video editing.....I am telling you just in case you don't go blind and instead explore this field from the real developers.

    • @prashanthvamanan1513
      @prashanthvamanan1513 3 роки тому +38

      @@harpicandparle-g5675 Content is present everywhere and everything is just a google search away. But the way and the manner in which it is presented such that it is understandable to everyone of all skill levels is what that matters. If u don't want to watch his videos that's fine and totally understandable. But don't demean and curse his efforts and his initiatives to make JS interesting. You won't find easy to understand high quality videos such as this digging deep into JS that too for free anywhere on youtube or similar platforms. Hence don't degrade and insult anyone's efforts, if u like it watch or else don't watch.

    • @sahilkc23
      @sahilkc23 3 роки тому +3

      @@prashanthvamanan1513 absolutely bro

  • @jamilshafayat7288
    @jamilshafayat7288 9 місяців тому +11

    After almost two years, here I am again, experiencing the same exhilarating rush of emotions just like the very first time. It's truly amazing to journey through this entire session once more.

  • @vishalmali8491
    @vishalmali8491 10 місяців тому +3

    This is probably the only course that does not bore me. I feel like going through one more episode even when I'm done for the day. You make concepts very easy to understand. Thank you for this series, Akshay.

  • @nativeKar
    @nativeKar 3 роки тому +149

    I recently interviewed a candidate for a FEE role and when I asked him about Web APIs, he said, 'It's a browser superpower', I was bloody confused, only now I know.

  • @nikileshs24
    @nikileshs24 10 місяців тому +1

    This is probably the only course which does not bore me. I feel like going through one more episode even when I'm done for the day. You make concepts very easy to understand. Thank you for this series Akshay.

  • @sarthaksingh2145
    @sarthaksingh2145 9 місяців тому +1

    Wow, mind blowing stuff, discovered your channel so late and have to admire your efforts. This playlist is no short of a gem🔥🔥🔥🔥

  • @zohebahmad9633
    @zohebahmad9633 Рік тому +3

    Goodness gracious what a video! Amazing summary of the Event Loop. The knowledge being provided in these videos is a blessing to all honestly.

  • @user-bj7yd3xm8i
    @user-bj7yd3xm8i 9 місяців тому +15

    Great video, Akshay! I appreciate the way you break things down and that you take the time to reiterate even the simpler concepts. You have the heart of a teacher, and we could not be more grateful.

  • @vikram7735
    @vikram7735 8 місяців тому

    The quality, concise JS series provided by only you sir !!!!! We are lucky to have you, providing such crystal clear explanations of the JS topics at free of cost; really the most humble, passionate person you are...😇

  • @amreshyadav7
    @amreshyadav7 5 місяців тому

    Best series that I have found on UA-cam till today. Thanks! Amazing deep explanation. WOW... WOW... WOW...

  • @poojamishra1306
    @poojamishra1306 2 роки тому +3

    Amazing Explanation. Kudos to it. The things you explained in 40 mins... takes lot more to sink in if I had read a book or watched somebody else. Thank you!

  • @devateja9045
    @devateja9045 3 роки тому +3

    This is the first time that i'm commenting on a youtube video. That was a very great explanation. Lots of Love and lots of respect. More Power to you man.

  • @privateaccount2607
    @privateaccount2607 8 місяців тому +1

    Most amazing content on Javascript. This videos was superb about how event loop works. Hats off to you @Akshay Saini Sir! I can bet no one is there on any platform with a sound knowledge and strong core concepts of JS like you have .

  • @stephendsouza8555
    @stephendsouza8555 Рік тому

    You made it easy to understand what is happening under the covers through the JS Event Loop.
    Thanks for taking the trouble to break things down for us to understand.

  • @averiivy1
    @averiivy1 2 роки тому +3

    All your videos are amazing and provide infinite clarity on some of the most taken- for- granted foundation concepts of JS
    Thank you so much for making this available for free!!!

  • @ashishpujari7
    @ashishpujari7 3 роки тому +16

    Akshay you made so easy to understand. The way of explanation is feels like a story telling. Good job keep the hard work goes on. Cheers 👍👍

  • @akihokokurosaki
    @akihokokurosaki 6 місяців тому

    I had no knowledge about javascript but because of you started learning it and now it feels soo easy.
    It's been two weeks now, i watch one video from this series everyday.

  • @shree6665
    @shree6665 7 місяців тому

    nothing is better than this and your explanation and set in my mind for lifetime, cannot thank you enough. you are truly a JS GOD!!!

  • @AmiraMuzaffar
    @AmiraMuzaffar Рік тому +4

    With this understanding of the event loop, I feel like I can nail an interview. Nicely Explained. I always find your videos simple and full of knowledge.

  • @prasadmangali9679
    @prasadmangali9679 2 роки тому +10

    This is awesome never seen this kind of one's expecting more like this deep drive understanding the javascript, I really enjoyed with this video really great sir 🎉🎉

  • @vaibhavsachdeva.2001
    @vaibhavsachdeva.2001 6 місяців тому +1

    This is amazing. I got hooked to this playlist. It is exactly the kind of depth I was looking for in the tutorials. Thanks a lot.

  • @waseemtahir6740
    @waseemtahir6740 2 місяці тому

    Wow, this is gold. There's no other content about event loop as good as this on the whole UA-cam. This is the simplest and most effective way of teaching what event loop is.
    Thank you Akshay for the content.

  • @shekharnair6051
    @shekharnair6051 2 роки тому +5

    Beautifully explained, I've never dived down as deep into JS as this before.

  • @vinaysharma5783
    @vinaysharma5783 Рік тому +3

    Hi Akshay, This is the most important video and you nailed it in this video, hats off to you man. Thanks for explaining the evnt loop and callback queue with so ease.

  • @user-fx6ff9co7i
    @user-fx6ff9co7i 7 місяців тому

    After watching a lot of the content in that topic I can say this one was the best IMHO! You have answered all my questions :) Thanks so much!

  • @bigbacktor
    @bigbacktor Рік тому

    Your passion is so contagious !! You are really good explaining this concepts. I wish you all the best.

  • @shrishtisingh4249
    @shrishtisingh4249 2 роки тому +5

    I cannot stop watching "Namaste Javascript". As a beginner, I am quickly able to grasp so many new terms and explanations. Hats Off Man!

  • @pramudithajayasinghe7207
    @pramudithajayasinghe7207 2 роки тому +19

    This is the best JS tutorial I've seen on the internet. It is quality than a paid course. Thank you Akshay!!!.

  • @gregorriusadolphus2729
    @gregorriusadolphus2729 4 місяці тому +1

    Akshay.....WHOA! I am just now watching all of the Namaste JavaScript videos in order, one by one. I have learned so much this far this weekend; I wish I knew all of this when I started out learning JS a few years ago. Oh the interviews I would have passed! haha. This particular video was all new info to me and you explained it simply and wonderfully. This video was a true BLESSING to my understanding. It's now three years after you initially. made this video so I hope its all still relevant LOL. Thank you once again!!!

  • @rksabarish6952
    @rksabarish6952 11 місяців тому

    So much of contents from you sir. its actually mind blowing. I m following your videos since few days. Hats off to your efforts taken

  • @abdussamad0348
    @abdussamad0348 2 роки тому +6

    Amazing video ! Mind blowing content. Now the time has come when the best of the best content is available for free. Education is no more dependent on money. Thanks for the whole series. I am doing my BCA (first year) and learning web dev on my own, this series is helping me a lot, clearing the core fundamentals like how things actually work. Eagerly waiting for "promises" episode !!

  • @anushkajaiswal3999
    @anushkajaiswal3999 Рік тому +4

    Namaste Javascript! 🙏 These video are like new discovery to me. I love it definitely . Thank you so much for your amazing videos.

  • @satyammishra5635
    @satyammishra5635 5 місяців тому +1

    Hi Akshay, I am following this series from more than a week and it really helps to understand each and every concept which you are covering and before covering this series am unaware of call back function, global execution context, closure but now I have an idea and can explain to my friend about this concept. This video is also an amazing one and got to know about Microtask Queue and Event Loop and WEB API, you are doing a great job and keeps continuing this work because there are so many folks who wanted to learn and if you are continuing this kind of work then not only you but each and every individual will be happy by watching your video which has deep explanation in it.

  • @pankaj8876
    @pankaj8876 7 місяців тому

    I would say just amazing. No could ever explain it in that much simple and deeper way! Loved it ❤

  • @rapianopenaldo1669
    @rapianopenaldo1669 3 роки тому +3

    Thanks a lot akhay bhaiya, in a world where most of the students in the first year of college are running behind Competitive programming and ML, it is really a breathe of fresh air when someone as influential as you is teaching Javascript in depth for free.. again thanks a lot!

  • @neelthakkar4492
    @neelthakkar4492 3 роки тому +4

    At the end i felt like i have achieved knowledge of a whole book only on event loop. Really filing like master of event loop. Really thanks to you.

  • @aayushnehra9813
    @aayushnehra9813 9 місяців тому +1

    loved the video. I always had confusion how callback functions pop up or how event listeners work. This made everything easy. NO DOUBTS REMAINING. It is amazing how many OS concepts like priority queue and task scheduling works in the browser itself.

  • @vietnamnguyen501
    @vietnamnguyen501 7 місяців тому

    आपके समर्पण के लिए धन्यवाद !🔥 Not only did it help me understand how browsers work, but it also made me love JavaScript even more❤‍🔥

  • @mukulgarg4169
    @mukulgarg4169 3 роки тому +6

    The best thing about his videos is you never get bored even if the video is 1hr long. Kudos to you brother!! Keep up the good work!!

  • @IshanKesharwani
    @IshanKesharwani 3 роки тому +6

    Forget everything, just admire the way he is doing everything so that we can understand everything. The guy isn't backing off for one single moment.

  • @HarshJadhavimHarsh
    @HarshJadhavimHarsh Рік тому +13

    I usually don't comment as you pointed out, but this video being so comprehensive and detailed yet so simple to understand made me comment here. The explanation was too good and anyone could easily understand them. I highly recommend going through this series serially as that will help you understand every concept deeply and get your foundations strong. Thank you Akshay for making this series public as this will help new developers (and experienced too) to not just code to finish work on deadline but will also make them fall in love with this beautiful language.

  • @karansosa1837
    @karansosa1837 5 місяців тому +1

    Amazing stuff Akshay, the engineering behind the browsers, web APIs, and the complete series made me fall in love with JS.
    if anyone feels JS behaves weird sometimes just watch the whole series and you'll understand what is happening behind the scenes.
    Thanks a lot, akshay

  • @trishnangshugoswami5400
    @trishnangshugoswami5400 3 роки тому +8

    You are super amazing and I can promise after this I will never ever forget what an event loop is.

  • @yogeshkumar-ns6nc
    @yogeshkumar-ns6nc Рік тому +3

    @Akshay Bro I can't tell how beautiful your lectures are and Seriously understood the concept of event loop thoroughly , Thank you soo much for making it free for all , this series is a gem Bro

  • @rahulyo.gaming
    @rahulyo.gaming Рік тому +1

    This is the best explaination on javascript execution i have seen on youtube. Great efforts bro.

  • @rashmidevaraju9957
    @rashmidevaraju9957 Рік тому

    Literally, this is my first ever comment on youtube , watched almost 20 videos of this course... you are just AMAZING! keep doing such content and we love you for doing this free 🥺❤

  • @vipulsuryavanshi1787
    @vipulsuryavanshi1787 3 роки тому +12

    I feel like i have found a hidden treasure, amazing worth much more than the paid content. Thank you so much for such grate knowledge :)

  • @neerajchavan9760
    @neerajchavan9760 3 роки тому +10

    I am a java developer. Before watching this series I really used to hate JavaScript because it really behaves differently than other programming languages . I have watched a lot of tutorial series of JS but, your content is PURE GOLD! As you said at the start of this series, your GOAL is to make people fall in love with JS. I think you have succeeded. ♥️

  • @VikashKumar-ll5fv
    @VikashKumar-ll5fv 9 місяців тому

    A good teacher with quality content doesn't needs a marketing and advertisement. Ppl fallback with him naturally. Thanks Akshay sir for being a good teacher

  • @manipriyagopal2336
    @manipriyagopal2336 Рік тому

    The explanation was upto the point and more more clear. You have done the amazing job. You have made it very easy for us to understand this topic more clearly.

  • @souravsingh763
    @souravsingh763 3 роки тому +7

    I am a student .I started learning JavaScript 3 months back .I am very passionate to know how actually JS works behind the scene. For me this NamasteJS series is like dream came true

  • @techwariumindiapvt.ltd.6712
    @techwariumindiapvt.ltd.6712 2 роки тому +3

    The tutorial video is very easy to understand as a bigger level dev. We are thankful for your hard work. your effort will help us to make good dev.
    thanks, buddy
    we are very glad for Indian dev are also showing interest in creating Valuable contain creation. We are getting very positive vibes when we learn from Indian UA-camrs. Your presentation and teaching technics and Video and Audio Quality are very good.

  • @sathiyamoorthi308
    @sathiyamoorthi308 11 місяців тому

    since 3months i am working javascript i don't about this concept when I watch the video I got lot of knowledge and I can understand easily and I got some confident also thank so much akshay you are very good teacher in my life , I don't forgot you in my life.

  • @tanjimulislamsabbir2264
    @tanjimulislamsabbir2264 6 місяців тому +1

    41.44 minutes was an epic. I have got all of my inquiries about asynchronous on this video. But I wanna know more. It made me hungry to know more about Browser and JS code execution. Thank you! ❤

  • @Spyrie
    @Spyrie Рік тому +5

    No one ever taught about this as clear as you do. Thank you so much Akshay.

  • @danachen81
    @danachen81 2 роки тому +17

    At first, I clicked on your video to clarify my concepts on hoisting. However, I ended up watching the entire series for multiple times. It is surprising how you can have such a thorough understanding of JavaScript, and such in-depth explanation of all the concepts, both theoretically and practically. Love your passion, thank you so much!

  • @chetansahu1505
    @chetansahu1505 4 місяці тому

    The explanation was mindblowing. You deserve a standing ovation. Quality content.

  • @tahsintushita6122
    @tahsintushita6122 6 місяців тому +1

    Your explanation is top notch & your passion is contagious!!! Thank you for making such passionate videos ❤

  • @tanyamehrotra8832
    @tanyamehrotra8832 3 роки тому +6

    Loved this Akshay!! I literally had no idea so many things are going on behind the scenes and I've been working on JS for more than a year.

    • @akshaymarch7
      @akshaymarch7  3 роки тому +6

      That happens, we generally don't know what happens behind just a sweet simple `console.log("helloworld")`. Glad you enjoyed it. ! 😇

  • @kamrulislam3841
    @kamrulislam3841 10 місяців тому +3

    You are great man. I love those teachers who really enjoy teaching ❤️
    Love and Respect from Bangladesh 🇧🇩

  • @subhankarsahoo963
    @subhankarsahoo963 11 місяців тому +1

    Best video ever on js for conceptual clarity. Thank you Akshay hands off bro.

  • @mohit-th7ln
    @mohit-th7ln 6 місяців тому +2

    my brother recommended this channel for javaScript to me. I thought this man will teach as others are teaching on youTube but No I was wrong ,this man is such a legend ,after completing this playlist and season 2 will also be continued now i am going to watch his namste react course which was recommended by me .
    thank you so much Akshay bhaiya💌🙏🙏 ,you are amazing 👌👌.

  • @sanjaygarg3540
    @sanjaygarg3540 3 роки тому +2

    Browser is the most remarkable creation of mankind !!. Loved it.. Every concept is well explained. I have been watching your videos for quite some time now and they are all amazing. Keep up the awesome work bud!

    • @akshaymarch7
      @akshaymarch7  3 роки тому +2

      Haha yes, Browser is one of the most remarkable creations in the history of mankind. 🔥

  • @jaishrikrishna5755
    @jaishrikrishna5755 2 роки тому +5

    Great Efforts and best explanations ,Thanks is just not enough to be thankful for such a great content .

  • @sharmilak5109
    @sharmilak5109 Рік тому

    I'm a beginner to a Javascript your video was damn worth to watch,just i got a very clear explanation about all the topics which you covered in this video,thank you Akshay

  • @ananttiwari1336
    @ananttiwari1336 Рік тому

    watching your playlist from 4 days just in love with your explanation.

  • @tejasjani2544
    @tejasjani2544 3 роки тому +6

    It's Awesome 🤯.
    You are Genius🦸‍♂️ guy .
    Thank you❤️ so much for sharing this deep🧜 and Magical🧚 hidden world of JS.

  • @dhanubhardwaj6935
    @dhanubhardwaj6935 2 роки тому +3

    This video should be shared by all senior javascript devs to their junior devs ones .
    Amazing @akshay sir

  • @heetaghera5401
    @heetaghera5401 3 місяці тому

    "Your teachings are truly amazing ! Kudos to you for putting in all that effort, seriously. The way you break down concepts and explain them in-depth is next level. Your hard work shows, and it's clear you're going the extra mile. I've got a solid grip on the concepts, and your teaching style is just something else. Thanks for making learning so enjoyable and insightful ! 👏🌟"

  • @samialvi4226
    @samialvi4226 11 місяців тому +1

    Never thought Event loop would be that simple.
    Hats off to you!!!

  • @sandeshsmagdum
    @sandeshsmagdum 3 роки тому +15

    OMG! The more I get deeper into event loop, I am feeling I need to dig deeper. This is mind blowing explanation and details. I liked the neon effects of the sketches you draw while explaining. Thank you so much for putting extreme efforts in making this video and sharing the knowledge. I would like to know now about event loop in node.js and particularly phases of event loop in node.js. :)

    • @harshneetsingh5267
      @harshneetsingh5267 2 роки тому

      hello as a codeNewbie i just want to ask you something . Ive started web development and rn im doing js , so how to get to know that what total number of concepts are needed for mastering javascript .. and suggestions for web development will be much more apreciated

  • @robinsinghmahrok4437
    @robinsinghmahrok4437 2 роки тому +4

    I don't usually write comments on UA-cam tutorials, but the content of this guy forced me to do so. More power to you ❤‍🔥❤‍🔥

  • @abuzaryaseen474
    @abuzaryaseen474 6 місяців тому

    The best explanations and total understanding the concept of event loop in this video, thanks a lot for such kind of knowledge, which I have not even come across after watching so many videos.

  • @venkatkumar8672
    @venkatkumar8672 6 місяців тому

    Loving this playlist, I'm a fresher and i was recommended by my friend to learn javascript right from here. And thanks for recommending this playlist you explaining core JS and how it works makes me getting so much interest in JS. Thank you Sir.

  • @amineguizani4983
    @amineguizani4983 Рік тому +3

    The only Dev serie on youtube that worth a comment, like and subscribe its a masterpiece

  • @dronedarshan8270
    @dronedarshan8270 3 роки тому +21

    I have never seen anyone teaching concepts with so much depth, clarity and ease. The content is unbeatable, the delivery enthusiastic and love how eager you are to make JS easy for everyone. Thank you for putting all this effort and coming up with this series. Worth every second of watch time.

    • @harshneetsingh5267
      @harshneetsingh5267 2 роки тому +1

      hello as a codeNewbie i just want to ask you something . Ive started web development and rn im doing js , so how to get to know that what total number of concepts are needed for mastering javascript .. and suggestions for web development will be much more apreciated

    • @rover2444
      @rover2444 6 місяців тому +1

      have you get your answer ,,,,batao yaar,,,,,im in same situation that you in last year,,,@@harshneetsingh5267 🙂

  • @jitendrasingh9752
    @jitendrasingh9752 11 місяців тому

    What a quality content man. Really appreciate the hard work you have put to teach all these concepts. Thankyou!!

  • @DharmendraKumar-zy5mz
    @DharmendraKumar-zy5mz 10 місяців тому +1

    This course give me more energy when I started. because the way you teach is loved it. i can't say thankyou I say Dhanyawad namaste javascript

  • @jaswantrohila3776
    @jaswantrohila3776 3 роки тому +9

    This " Namaste javascript " feels like the recursion of pure quality content... Just waiting for your next videos...thanks brother🔥🔥

    • @akshaymarch7
      @akshaymarch7  3 роки тому +3

      Wow, thank you for such a lovely comment! 😇

  • @jaikhanchandani9880
    @jaikhanchandani9880 3 роки тому +6

    spent whole day studying about event loop and finally understood it in these 40 mins, Best explained.

    • @harshneetsingh5267
      @harshneetsingh5267 2 роки тому

      hello as a codeNewbie i just want to ask you something . Ive started web development and rn im doing js , so how to get to know that what total number of concepts are needed for mastering javascript .. and suggestions for web development will be much more apreciated

  • @ngayathri1818
    @ngayathri1818 3 місяці тому

    Wow its totally amazing content. I have read so many articles for event loop but now only am fully understand about it and with all the deep explanation from you brother.
    I started this series and am not able to sleep in night without finishing it and watching callback hell and promises at 2AM ❤

  • @prasadbagade5541
    @prasadbagade5541 4 місяці тому

    Lucky to have you as Teacher.!!! As usual another great video. Thanks for clearing this imp concept.

  • @krmanishkr60
    @krmanishkr60 11 місяців тому +8

    #gajab(virtual hug emoji , searched specially for this video only.)
    watched in one go at 2Am, initially thought to skip bcz of length. but while watching got excited and completed without any pause.
    you will get to know about following terminology,
    callstack
    global execution context
    event loop
    Web APIs (e.g. setTimeout , DOMs , fetch, console) context
    callback queue(or task queue)
    microtask queue
    promises , mutation observer
    startvation of callback
    all the things are explained with three examples : setTimeout, dom apis with click event , fetch api + setTimeout.
    Great video, I can confidently say that this guy has not learned the conecpt in this deep bcz of simply working in company.
    Its because of his great interest/passion for Javascript.
    keep empowering us with such a great knowledge.
    I don't comment or like generally, but on this video have commented & liked both.

  • @LLTletslearn
    @LLTletslearn 2 роки тому +3

    First of all I want to say Huge Thank You 🙏🏻.
    I am a flutter dev. The language used in Flutter is Dart. In one of my interviews the interviewer asked me “How dart program get executed? How dart engine works? What is dart VM? What is JIT and AOT?”
    Honestly speaking I don’t know any of the above correctly. After the interview I searched for above topics and got some good articles on Medium. One of that articles stated that dart event loops are similar to JavaScript. You know what quickly comes into my mind is the great place to understand this concept is NAMASTE JAVASCRIPT(Event Loop). I really enjoyed every millisecond of 41:45.
    Thanks again 🙏🏻.

  • @buriza2401
    @buriza2401 10 місяців тому +1

    Mind blown by this video. I've learnt so much from this series. Thank you so much!

  • @shahidafreedy
    @shahidafreedy 5 місяців тому +1

    "I found this video to be the most enjoyable till now in the series. Thank you for the excellent explanations that made it easy for me to understand."

  • @032_jatingaur7
    @032_jatingaur7 Рік тому +18

    This is not only a Js series, It's a masterpiece 💯

  • @santhoshmoolemane
    @santhoshmoolemane 3 роки тому +6

    Best thing is that He himself requests us to stay for some more time to learn.
    In clg, even if we request, teachers weren't explaining clearly.
    Akshay "ದೇವರು ಒಳ್ಳೇದು ಮಾಡಲಿ🙌"

    • @akshaymarch7
      @akshaymarch7  2 роки тому +1

      ಧನ್ಯವಾದಗಳು, Santhosh ❤️

  • @ayanansuman9602
    @ayanansuman9602 9 місяців тому

    You have cleared my core concept for the Event loop in one go. Thank you so much for your effort. 💌

  • @AnkitSrivastava-mx5wy
    @AnkitSrivastava-mx5wy Рік тому

    Akshay Saini Sir , the way teach and every concept you made me realise it in more depth, I already cracked so many interviews by just watching your videos.
    Thanks a lot for such amazing content.

  • @harshinredzone
    @harshinredzone 2 роки тому +4

    No wonder why I agreed to my strong urge of disabling the ad block for your channel. Such an amazing content and that too for free seemed like far fetched dream. 😍

  • @carolinemariga8079
    @carolinemariga8079 2 роки тому +16

    You make everything sound so simple. This is the best playlist I've encountered. I am really enjoying namaste JavaScript. Great work Akshay 👍

    • @harshneetsingh5267
      @harshneetsingh5267 2 роки тому

      hello as a codeNewbie i just want to ask you something . Ive started web development and rn im doing js , so how to get to know that what total number of concepts are needed for mastering javascript .. and suggestions for web development will be much more apreciated

    • @codeRajeshPal
      @codeRajeshPal Рік тому

      @@harshneetsingh5267 This namaste js playlist is enough but i would suggest if your goal is web dev first understand what you want to become be it MERN developer or simple react frontend developer based on that learn the subsequent technologies and create projects while acquiring the knowledge.

    • @harshneetsingh5267
      @harshneetsingh5267 Рік тому

      @@codeRajeshPal I want to be full stack so . I’m going for front end first

    • @VKY-XLR8
      @VKY-XLR8 Рік тому

      @@codeRajeshPal do u know any channels similar to this in explanation for React js..?

  • @ArunKumar1177
    @ArunKumar1177 Рік тому

    Amazing explanation way and not get bored even if the video is long. Really helpful content. Easily understanding concepts. Best JS content over the UA-cam. 🤗

  • @shivampandey0
    @shivampandey0 2 роки тому +3

    An awesome explaination. I just wish my college teacher's would have taught their subjects with this much enthusiasm.