hi techsith, I would like to thank you with my whole heart. I have followed your video for my JavaScript knowledge and switched my job where i got unexpected 100% hike in my current salary. Your videos are so well explained that i can't explain i can only say that in my current team i have referred you video to many people and they are also loving ur series.
Hi Vicky Bhai m javascript/react m job search Kar raha hu Agar apke Paas time ho to meri thodi help kar dijiye Kaise kya kitna karna h jisse interview nikal jayega Email is Work42sandeep@gmail.com
You made this hard topic fewer easiest, because of your examples from real life, it's a big plus for you, that makes me watch your video and understand the topic of the video. Thank you for you :)
i have seen many videos trying to explain Async Await(all of them just show a async func but never explain or show why ths func is Asynchronous when the await clearly blocks the code in there example) and this is the best one by far how the hell this dosent get more views ?
Thank you soooo much. You break down hard to understand concepts in the most simplest form. After I found your channel my understanding of JavaScript really improved. :)
very nice and simplified as usual good job my friend. although i think the ticket and the movie example is way to specific and realistic did it happen in real life :) ? keep up the good work
Simple answer. if you want to block, you use async await. promises are non-blocking. Imaging if you write some end-to-end tests where you have to load the page , makesure its loaded before you click on the button and make sure it opens another page before you click on that page. all of this is very simple with async await since it blocks every execution.
please what's the difference, why you didn't apply async await on promiseWifeBringingTicks to show us that the script wait the 3 seconds and then it continue the other executions ?
Thanks. I know these are didactic examples, but in a real life, does it make sense to use promises for loading user form, input data, and verify, because if you need to wait before continuing your process. For me it does not make sense to make those requests async.
for loading the data in the user form should not be a promise. and same goes for verifying the data. However, if you are loading the data from response from a rest api. you have to wait for the response to be returned so you need to use promise there.
What I like the most about your teaching approach is that you translate coding language into real life experience which is crucial for beginners to understand. Here's a new subscriber for you :)
Thank you so much..referred so many blogs and videos for async await but never understood as good and precise as i did after watching this..What a explanation and relevant example ..this helped alot!
maybe a silly question but i cant get my head around, when you return the t you use inside the dollar sign( $ shows its a variable) but when you call the function down and console it you just use console.log(t) i mean just t rather ${t}
if you are using template string which mean someting like this `hi i am ${t}` this is where i am using doller sigh. but i I just want to print t I can simply use t.
I am confused about JavaScript's blocking behavior. Is JS really non-blocking? Consider the following example: alert('Foo'); console.log('Bar'); If you execute the above code, the second statement never gets executed until the first statement is executed, meaning that the program "waits" for you at line 1. Hence the execution is blocked for as long as the user doesn't close the alert dialog.
Tanmay, to answer your question , JavaScript is non-blocking if you use use the right things that are non-blocking. alert is on of those blocking things that was added long time ago before they consider javaScript non-blocking. unfortunately you can remove anything from javaScript once you add .
hi techsith, I would like to thank you with my whole heart.
I have followed your video for my JavaScript knowledge and switched my job where i got unexpected 100% hike in my current salary. Your videos are so well explained that i can't explain i can only say that in my current team i have referred you video to many people and they are also loving ur series.
Hi Vicky
Bhai m javascript/react m job search Kar raha hu
Agar apke Paas time ho to meri thodi help kar dijiye
Kaise kya kitna karna h jisse interview nikal jayega
Email is
Work42sandeep@gmail.com
@@SandeepKumar-cx7cz maine email kiya hai apna number kabhi bhi cal kro
@@vickykumar-fb8td hello i know a friend of mine who is also looking for new job as its difficult to get a job a. fresher. can u please help ?
much 'awaited' video.
Poor guy is never going back to the movies again
lol
After watching quite a few tutorials on this subject, I can say that this is by far the best I've come across! Thank you!
I appreciate your awesome comment. Thanks for watching!
I agree with you. This is gold
The best async await tutorial i have ever seen. Thank you!
This guy has done mastery in making easy topics looks like most difficult thing ....
I have tried very hard to understand promises and async . this is a saviour . Thanks so much
I really liked the idea of "movie queue" that you used to explain async/await.
Great video.
Glad you liked it! I was thinking a best way to explain it and It seems , real life examples are best way to explain.
You can't have butter without popcorn , funny explanation , you just nailed it , thank you
Thanks for watching Wael :)
This is the best video i've seen on this topic. Even in 2021 this is the best!
You made this hard topic fewer easiest, because of your examples from real life, it's a big plus for you, that makes me watch your video and understand the topic of the video. Thank you for you :)
You have one of the best youtube channels man... keep on
i have seen many videos trying to explain Async Await(all of them just show a async func but never explain or show why ths func is Asynchronous when the await clearly blocks the code in there example) and this is the best one by far
how the hell this dosent get more views ?
I am glad you think so. Keep on learning!
hard for single, happy fellows, to understand!!!!!
Your tutorials are masterpieces! :D
Thanks for a nice comment Daniel.
That's great explanation sir..keep it up!!!
Example was great. And the way you explained it made the topic a lot clearer. Thank you Sir
You're my go-to-guy, thanks for the vid.
I have to say that this is so far the best tutorial on this subject...thanks a lot for sharing your knowledge with us....great video
cleared all concepts at once...great
I am glad that was cleared. Keep on learning!
You earned my respect from bottom of my heart.Thankyou so so much sir.Really impressed
Thank You
THanks for watching Sailesh!
hi sir,
one doubt in 11:55 in async function there is no any time delay then why its vonsole at last?
Thanks for your presentation. Very helpful. Much appreciated.
I like the cinema video example! Thank you.
Thanks Very Much. I just like all your videos. Its self explanatory, very well explain. Thanks once again.
wow, excellent , feeling very very good even many developers doesn't know actual behind
Thanks Bharat, for watching!
You're a good teacher brother. Kudos
Thanks for such a detailed explanation.
Thanks for watching Aakriti!
Your videos are great! Thanks you.
Thank you !!
This is the best video ever :)
Thank you sir.. well explained..
thank you so much for all your videos. Respect for your work.
Excellent video.. the example is great to explain the concept ! This man knows the struggle with women XD
Great example to understand 👌
Deepak , thanks for watching!
awesome explanation as usual ..with practical example
Simple and Clear .. It became very easier to understand with the "cinema ticket queue" example you took.
Your stories are brilliant
You saved my time
THANKS :)
Very nice explaination, big thanks!
Well explained....as expected from you sir..
Genius channel 👍🏼
Thank You, Sir,
Full respect and
Best regards
Dimitar
Clear clean and neat
Thank you soooo much. You break down hard to understand concepts in the most simplest form. After I found your channel my understanding of JavaScript really improved. :)
Txx a lot. Love your simple approach.
Thanks for watching! :)
very nice and simplified as usual good job my friend.
although i think the ticket and the movie example is way to specific and realistic
did it happen in real life :) ?
keep up the good work
George, I has happened to me. I am assuming it has happened to lot of other people too and I am not alone in this one. :)
@@Techsithtube of course it happened don't worry you're not alone 😂
thanks a lot man , was just thinking about this
wow . beautifully explained
Thank you Sir. you explained very well.
your example was good, easy to understand Promises, but it became very complicated to understand main point async/await
Great video. Pretty explanatory both of how async / await works and more importantly, how annoying wives are.
lol I would not comment on the last part :)
Awesome videos sith
Brilliant Tutorial thanks
Fantastic explanation!
Thanks. Subbed and liked. Keep up the great work. :)
Thank You so much, sir!!! So helpful!
Nice Explain
Awesome
thank u so much sir
actually i knew how async await works, but i want to point that you are the best js tutorial creator in youtube, thank you very much for your work :)
:) thanks for the nice comment
Thanks man. Great stuff.
magnificent video!!! THANK YOU SO MUCH !!!!
that is very practical... thanx
man u are awesome !
great example
Nice explanation 👌👍👍
Thank you very much man. You explained it with so much simplicity, it's just imprinted in my mind. Great job 👍
Soham, If its imprinted in your mind, my job is done. Thanks for watching!
Wow, you really put great effort into coming up with good examples to explain a topic
What plugin and IDE are you using that it autocorrects misspelled function/variable names?
Great tutorial! (:
Very nice presentation sir
Well explained topic....
you are gold 💛
Excellent one. Thanks
than you sm, this really helped
The video is slowly but more importantly, it's so understandable and precise! Thank you.
really nice work. ty a lot.
Glad you liked it!
Thanks:) very well explained sir.
Thanks for watching Zakir!
Do you have one for Promise and do you have some practice questions?
Is this based on your real life experience? If so you deserve credit for your relationship skills as well as your teaching skills ;)
Excuse me, please what font are you using in this video?? Thank you sir.
smart example, thanks sir
Pause *exactly* at 7:23 and not a millisecond later
I just realized what happened at that exact moment. :)
U doing really amazing job,I like all of us videos,especially javascript mock interviews, it helped a lot,thanks for ur videos
This is very nice example I like it.. can you please explain observable with the same example?
Vefry helpful, thankyou.
im confusedddddd....i just need a simple answer, what is the point of async await if we already have promises? :(
Simple answer. if you want to block, you use async await. promises are non-blocking. Imaging if you write some end-to-end tests where you have to load the page , makesure its loaded before you click on the button and make sure it opens another page before you click on that page. all of this is very simple with async await since it blocks every execution.
please what's the difference, why you didn't apply async await on promiseWifeBringingTicks to show us that the script wait the 3 seconds and then it continue the other executions ?
Thank you. very very good
Thanks. I know these are didactic examples, but in a real life, does it make sense to use promises for loading user form, input data, and verify, because if you need to wait before continuing your process. For me it does not make sense to make those requests async.
for loading the data in the user form should not be a promise. and same goes for verifying the data. However, if you are loading the data from response from a rest api. you have to wait for the response to be returned so you need to use promise there.
Your story here sounds like you are speaking from experience, haha. My next Promise would be for us to setTimeout :D
Await thumbs up...
What I like the most about your teaching approach is that you translate coding language into real life experience which is crucial for beginners to understand. Here's a new subscriber for you :)
Thank you so much..referred so many blogs and videos for async await but never understood as good and precise as i did after watching this..What a explanation and relevant example ..this helped alot!
Great! Thank you Sir...
Thanks for a great tutorial
{2021-08-11}
I am gonna show this video to my wife
You dont want to start a fight :)
Awesome!! Thank you!
maybe a silly question but i cant get my head around, when you return the t you use inside the dollar sign( $ shows its a variable) but when you call the function down and console it you just use console.log(t) i mean just t rather ${t}
if you are using template string which mean someting like this `hi i am ${t}` this is where i am using doller sigh. but i I just want to print t I can simply use t.
I love this video so much :) It's good content. However, it's a way too long.
Thank you, sir........u r great
I am confused about JavaScript's blocking behavior. Is JS really non-blocking? Consider the following example:
alert('Foo');
console.log('Bar');
If you execute the above code, the second statement never gets executed until the first statement is executed, meaning that the program "waits" for you at line 1. Hence the execution is blocked for as long as the user doesn't close the alert dialog.
Tanmay, to answer your question , JavaScript is non-blocking if you use use the right things that are non-blocking. alert is on of those blocking things that was added long time ago before they consider javaScript non-blocking. unfortunately you can remove anything from javaScript once you add .
thank you,sir
Can u make a video on arrayBuffer and sharedBuffer