TRUST ISSUES with setTimeout() | Namaste JavaScript Ep.17
This BONUS video covers the fundamentals of setTimeout, how it works behind the scenes. We also discover that setTimeout does not guarantee that the callback method will be executed exactly after a certain delay. Hence, there are trust issues with setTimeout. 😅
Moreover, we will also cover the case of setTimeout with 0 delay. It's a very famous Interview question and confuses a lot of new developers.
Towards the end, I also show the demo of how you can set up exactly the same playground to write code, just like I do in these videos. Check that out and I highly recommend you to set up a similar playground and experiment a lot with code while watching Namaste JavaScript 🙏
The only request is to watch this Episode of Namaste JavaScript with full attention.
My tech gear I use every day - google.peek.link/2pba
00:00 - Introduction
00:38 - Why we have trust issues with setTimeout?
06:52 - Code demonstration of the setTimeout delay
15:35 - Discussion about setTimeout(0)
20:27 - Set up practice playground on the local system
25:02 - Teaser of the Next Video
25:36 - 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 KZread. 😊
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
Пікірлер: 751
Next Episode: "Higher Order Functions & Introduction to Functional Programming" - kzread.info/dash/bejne/ep-L2th7YbWwoZM.html BTW, How was this video? Let me know in the comments below, I read each and every comment! ❤️
@RohitKumar-vd6mi
3 жыл бұрын
Thanks for this!
@priyanshuagarwal2337
3 жыл бұрын
Dude add videos on topics left such as Arrow functions, promises, exports, and also how things work at memory level/execution context in case of multiple files using exports etc. Also It will be great if you can create a web dev course, explaining Angular/React/NodeJS. Thanks man!
@olahuuber5540
2 жыл бұрын
The way you bow down and say namastey it shows you are uttrakhandi 😂
@lingrajbiradar4416
2 жыл бұрын
please add promises videos
@robinsoni4778
Жыл бұрын
I have one doubt, let's say when global context in the call stack is being resolved which eventually going to take let's say 10 seconds to execute and in the same time there was a fetch call been made, which has the call back function attached to it, and the code in that call back itself going to take 5 seconds, will that callback be resolved only in the call stack (total 10 + 5 seconds to execute code) or it would've already be executed before the time the fetch call back pushed into the call stack, in that case it will take max(10,5) = 10 seconds? Please help with above Akshay.
Please do not let this series die here, hoping you are good and healthy.
@DesignStrong
3 жыл бұрын
Look at videos on our side in meanwhile
@tautikagrahari489
2 жыл бұрын
@@DesignStrong yep ..this series dead
@riyazahmedpathan3850
6 ай бұрын
started new series @@tautikagrahari489
Things learned: 1. The setTimeout function stores it in the callback queue which is executed only after call stack is empty, even if setTimeout is set to 0ms. 2. setTimeout ensures that minimum it will take the time mentioned because it may be paused due to call stack not empty.
Akshay Please make video on Promises 🙏
@sanjeevguglani6623
3 жыл бұрын
Let's highlight this comment untill it reaches to akshay
@haroonhayat4797
3 жыл бұрын
@@sanjeevguglani6623 👍👍😍
@snehaagarwal1777
3 жыл бұрын
Even I request this🙏🙏🙏
@akshaymarch7
3 жыл бұрын
Sure 🙏❤️
@hiteshbariya384
3 жыл бұрын
Also on async and await :)
Before I started watching this series, I was one of those guys who hates JavaScript and here me loving this language by the end of your course. Wish you all the success in your life from the bottom of my heart.
@yashbansal1038
3 жыл бұрын
Bruh iss not the end
@valp_co
2 жыл бұрын
I love this comment since I think same
Hi Akshay! This entire playlist is one of the best things I have ever come across in my life. Such in depth explanation with such clarity is just unreal bhai! Absolutely loved to learn from you. Please take out time from your busy schedule and continue to make videos either for this playlist or maybe make a new playlist for any of the JS frameworks. Learning React from you would make the lives of millions of people. So please give it some thought and make newer videos as and when possible. Thank you for this lovely playlist so far! ❤️
Extremely amazing series. Thank you so much for doing this. Hands down, the best series. Please make more videos. Would love to learn more from you!
I'm so glad I found a video that explains this concept so well because many of my coworkers get confused about this. Thank you so much for putting this series together! I would love a similar series on how JS bundlers work!
This namaste-javascript course made me fall in love with JavaScript programming language...... Completed all the videos till now, and eagerly waiting for the next video... Thankyou 🙏
This passionate guy is a god-sent angel. He manifests not only the beauty of javascript but also his beautiful soul ❣
Legendary Akshay Bhai. Legendary... All Javascript developers - Experienced or newbies should look at these videos. Clear, crisp to the point - NO nonsense videos. Also, when are the next videos coming out???
@Akshay Saini You have the power of changing the mind of watching netflix series on sunday's to watch your beautiful, conentful Namaste javascript series. You are changing lives and you will stay blessed. Kudos
bro, this knowledge which you have is pure gold for developers, I won't even get this even if I paid for JS courses. thankyou so much.
Please complete this series Akshay sir. You are a gem 💎 it's a humble request , we have fallen in love with javascript and now wanted more deeper videos.
Your teaching style is very simple and easy to understand. Love your videos. Thank you so much .
Just Fall in Love with Java Script .The way you explained was amazing. Even love your dedication to help us by this type of knowledge heavy content
Wow, learnt too much in single video itself. Thank you.
Hi Akshay, just finished this video the Quality of content and knowlegde you are sharing is priceless. at one point you said that time is Jan 16th and 10.37 in the night, It shows how dedicated you are to bring out these videos. Thanks for these Videos, we need more people like you to share their knowledge and experiences open to the world. It'll help a lot for many people like me who are just starting out in this field. Ps: I'm the kind of person who doesn't comment on youtube videos, when you are taking hours of your Quality time making content, taking time to comment out my views is nothing. [Waiting for upcoming videos]
@akshaymarch7
3 жыл бұрын
❤️
Love your energy and enthusiasm while teaching . Keep it up
Namaste Javascript has been one of the best resources in my coding journey! Thanks for everything Akshay!
You are teaching JS so well . I have started to fall in love with JS.
Completed the series in 2 days. Totally in love with the way you teach.. eagerly waiting for the forthcoming ones...much thanks to you sir.
@globalclutter9508
3 жыл бұрын
2 days are enough to get familiar with js? Please tell me as I'm learning Java, I don't want to get mixed up
@sushantgarudkar211
Жыл бұрын
@@globalclutter9508 Seriously not! 2 days for a person who knows already how to code in js and have little experience working with it just a begineer level is enough. For freshies this is not the thing! just you have to understand basic concepts do some coding basic scripting and you can follow with it
Man, you're a hero. Thanks for the great videos and keep up the good work
I dont usually subscibe or like yt videos...But this whole playlist was so awsome and well-explained..my hand just clicked the subscibe button..
Thanks. This 10-sec code execution question came in my mind at the time of episode 13. Now I am clear with my doubt.
I rarely comment on any videos but I have to say, this is one of the best js courses out there. Eagerly waiting for the next videos :)
Brother your videos are so helpful ! I am about to buy your react formation just to support you for the amazing content. Lot of love from France 🥰
Seriously I am also falling in love with javascript ..by watching your videos ...Thank you for making such great videos. Waiting for promise ..
Absolutely beautiful series. The time that we set in the setTime out is the "MIN" wait time. ❤
25 seconds into the video and it has been educational💯 and entertaining🔥 at the same time Now this is one of the many reasons I recommend Akshay Sir's🙏 videos to every 🔰JS developer🔥
Awesome! Thanks for the knowledge. And thanks for keeping only one advertisement that too in the end. 🙏
Ohh is it... i think most of the dev can’t answer like this.. thank you Akshay.. millions clapping for you..! 🙏😊
I have taken notes of all the things you have taught so far and that is a "Grantha" for me. Every time I go through these notes, I see your face as if you are explaining it again. Like in the old bollywood movies, when a person would read a letter, the person's face would appear on the letter :D
Love you JavaScript and thanks again Akshay for making me fall in love with Javascript.
Eagerly waiting for next video. I am in love with these Javascript tutorial. Please upload next video soon. No one can explained these things better than you.
Getting clear picture of concepts after watching your vedios..Thanks a lot
Loving the way you explained each and every thing. You are light i am looking. SUPERHERO 🤩🤩🤩🤩
Yes I fall in love with JavaScript 🥰🥰
Crystal clear sir i love the way you are teaching thank you so much sir.
The video was beautiful sir ❤ have understood a lot of java script concepts. Will try applying them in my projects too. Thank you
You are right we fall in love with javascript you are explaining osam
Hi, Akshay! Hope you're well. Every video of yours is sooo informative and I thoroughly enjoyed each of them, it seems like a friend is explaining me something and that makes learning so much fun. Thanks a lot, Sir. 🙏I really hope you continue making more videos.
Hi Akshay, I love you explanation and deep dive to the topics. I would like to know better on this topics 1) Can you please make a video on performance related, security related, memory leak, when to use let, const and var at their best etc.., 2) On state management 3) Arrays and Objects (Deep and shallow copy) Thanks for sharing knowledge especially on behind the scenes of our code Please like and comment till it reaches Akshay if you are interested to know this topics
@jaishrikrishna5755
2 жыл бұрын
it will be great to learn all these from akshay
Mind Blowing Concepts!
Thank you Akshay Sir for the bonus video.
Now, the things are crystal clear.
Awesome video , how much you have creativity think about each logic
Totally loved this series, waiting for the next video.....
19:12 A clear example I noticed when we used defer in our tag during including in our html (Inside head tag) -> Sometimes we want that -> 🤔okkk this script should be called after the file (or page) parsed completely -> then defer attribute is helpful. great deep dive explanation🔥🔥 (Watched very late 😁😅) And also thanks for the NamasteDev🤩👌
Akshay thanks alot it's because of you I started loving JavaScript.😇
sir will this series continue? Many important topics are left like promises, I'm in love with your way of teaching, belive me today i had my oncampus interview in which all those questions which were asked from javascript was covered by you. Sir it's my humble request to please don't drop this series because it may help many people like us to get a good job only because of you . people like you are rare Thank you so much in advance akshay sir❤
Beautifully Explained as always Thank you!!Understood!!
Please make more videos, We all are just loving your series, Please make a lot of videos on advance concepts.
I have loved C++ for a long time because of DSA but now also love Js....❤️
Akshay you are elevating humanity consciousness with these videos, thank you 💪💪
With your Video I really love javascript now. Please make more videos on useful concepts.
Jai Hind Sir, You are simply AWESOME. Now my main language is JavaScript. I just want to work on it throughout my life. Thank you so much, sir, I have a request just to put that series in an infinite loop so that videos of this series never end..so please sir just keep adding videos on this series. This is a very humble request. Thank You!
@rajwardhanshinde7009
8 ай бұрын
hello bro i have some doubts regarding js plz how can i contact you plz help 🙏🏻🙏🏻🙏🏻 i am in need
Amazing nice crystal clear explanation
Thanks for the great explanation!!!!!
Sir please make a dedicated video on objects. I confused alot in objects. And you are such a god of js , I just love to watch your series. THANK YOU❤️😊
Broooo, love this namaste javascript series
loved your way of teaching . Thank you for your efforts :)
Can you please make a video on what happens behind the scenes in promises? I absolutely love your work and the way you teach, concepts get etched in memory very beautifully. Struggling a lot learning promises, please please make a video soon
In mobile environment we will be using this in splash/welcome screen. Its really important to know about this clearly. Today I got clear understanding, thank you Akshay !!😀😍
Thank You, Akshay for making this course so interesting
thank you for exceptional explaination
My doubt is clarified here. Thank you.
Thank you Akshay, it's been an amazing experience. Loved the whole series and waiting for next video. Come back soon
way of explaination is superb. appreciate bro
Thanks for making such videos bro!
Thanks for all the amazing videos ❣️
Akshay when the next video is coming? I am really eagerly waiting for it!🤩🤩 Please upload next video 🙏🙏
Super series thank you so much for such a great explanation
bhut acche se samajh aa rha sb👌👌
The best video I really appreciate it ☺️
I love the music in the end.. Literally dancing sometimes to celebrate learning :) :D
you know what you are awesome, the way you explain very easy, thanks bro 🙏
ye meri responsbilite hai aap ke har ek video pe like or comment karna. you deserve this. thank you so much for This video series❤
Hey bro seriously I became a big fan of your videos. love you for this content.
Nice explanation..I have followed all your videos so was getting the feeling for 50% time that I already knew this.. Nice revision Did the server extension setup..ready for ur next video..
This is amazing. Loved it.
aap sabse accha hai. bahut bahut dhanyavaad
Hi Akshay ! It's been a long time I saw any latest video of yours. Hope you will bring some good news soon. I just wanna share that I have landed my first Full stack job. Prepared for last 1.5 year. I am really thankful to you for making my javascript foundation very very strong. I feel I am much knowledgeable person in company when it comes to Javascript ,all credit goes to you.
Wow!! Good content. Have been waiting for this. Thanks bro..
You are doing a really excellent work. I just love your work. Thank you akshay sir
Hi Akshay, just loving your videos and especially the way you explain the concepts. I would really expecting the videos on design patterns of JavaScript. Could you please focus on that as well? Thank you.
Simply fabulous. Loved this video. Looking forward for HOF..👍👍👍👍
Sir please we need more namaste javascript videos .🙏🏼
Your passion for Javascript makes me more interested in it tbh!
Please complete this series bro!!
Thank you brother for providing such good content .
Theme music and chann se jo tuta koi sapna music😅 is awesome along with whole content. Thanks alot.
Thanks a lot, bro. may you get everything you want in your life.
I recently see your video. Within 2 days I watched it all. I hardly see the technical entertainers like you. It'll be really nice if you upload videos daily 😉
Really loved it Bro... and I just liked the explanation each and evrything...
Sir your playlist helps me a lot to understand the JS in depth, and it is an honor sir i got your video and enhanced my js knowledge a lot. I have one more request, can you upload playlist for REACT JS as well.
Learned something new today 😍. Thanks you Akshay 🙏
Now i can see how my knowledge growing like tree day by day after watching your video .
I liked before watching it😊
@karljosebuena
3 жыл бұрын
same here
nice explanation with example thank you