No video

Javascript Interview Questions ( Promises ) - Polyfills, Callbacks, Async/await, Output Based, etc

  Рет қаралды 118,978

RoadsideCoder

RoadsideCoder

Күн бұрын

Пікірлер: 135
@RoadsideCoder
@RoadsideCoder Жыл бұрын
🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details ✨ Complete Javascript Interview Playlist - kzfaq.info/sun/PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5 ➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder If this video gets good response, I will make more JS videos, so do share it with others 🔥
@rajankhunt7002
@rajankhunt7002 Жыл бұрын
Please make video on promise polyfill and include all, race, allSettled, any. i hope you will make video on its all in one.
@saikatbishal8429
@saikatbishal8429 Жыл бұрын
Criminally underrated channel.
@sushantkhare8467
@sushantkhare8467 Жыл бұрын
This is just amazing. One of the best content for interview prep. The number of variations possible in JS is just endless. Thanks for helping us out
@arunkaiser
@arunkaiser Жыл бұрын
I can give like for all videos from Roadside coder by closing my eyes because all are quality contents
@RoadsideCoder
@RoadsideCoder Жыл бұрын
❤️
@vishalheble
@vishalheble Жыл бұрын
Pure gold content. Thanks for putting these hard efforts
@RoadsideCoder
@RoadsideCoder Жыл бұрын
And Thank you for supporting 🙏
@gonzalea35
@gonzalea35 8 ай бұрын
Hey man this is great, is very likely you will find a bunch of videos explaining these topics but this is by far the cleanest one I've found, great hour of my life was spent watching this, I just suscribed, I will see the rest of your videos for interview questions, thanks for your work.
@RoadsideCoder
@RoadsideCoder 8 ай бұрын
Thanks a lot man!
@purusharma8192
@purusharma8192 Жыл бұрын
Meme Manager appreciating me for knowing everything about javascript Me who watches all of the videos of roadsidecoder
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Hahah
@sudhanshusharma9888
@sudhanshusharma9888 Жыл бұрын
When we learn anything from roadside coder we sure that we get quality content
@farhanakhtar8252
@farhanakhtar8252 Жыл бұрын
Please make a video on Event loop! All the videos are really helpful! Keep up the good work!
@dagogouranta5583
@dagogouranta5583 Жыл бұрын
this is just perfect, it really lets you wrestle with the concept until you get it! thanks RoadsideCoder
@anandagar2k
@anandagar2k Жыл бұрын
Its very clear and easy to understand I have been waiting for the Own promise implementation Its very helpful Thanks.
@ghufranbutt7509
@ghufranbutt7509 2 ай бұрын
Frm pakistan i have wathced lot of videos about asynchronus js but ur video is providing a Too much Unique and quality knowledge amazing video keep doing helping others Allah bless u more...
@RoadsideCoder
@RoadsideCoder 2 ай бұрын
Thanks, u can check the complete course here - roadsidecoder.com/course-details
@user-og7de8ih4f
@user-og7de8ih4f Жыл бұрын
Haha.. that meme thumbnail 😂😂🔥🔥
@vi_shalkumar10
@vi_shalkumar10 3 ай бұрын
Why to seee this lecture Lecture=quality Question=more practice(good) Explanation =clarity
@MythicEcho
@MythicEcho Жыл бұрын
The only video you need for asynchronous javascript, dhanyawad.
@todaysindia4114
@todaysindia4114 2 ай бұрын
Just a wow..brother you are gem ..thanks for this video
@user121304
@user121304 Жыл бұрын
Thank you Piyush!! Your videos are helping me learn the basics of Javascript .
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Glad to hear that
@arunyadav7467
@arunyadav7467 Жыл бұрын
I saw your channel content your channel have potential to reach 1M but be consistent please
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thank you. I'll try my best
@saichaitanyaemandi6386
@saichaitanyaemandi6386 Жыл бұрын
Truly amazing bro. Thank you so much . Such clean and easy explanation
@anshul9714
@anshul9714 Жыл бұрын
A very good video. Kindly consider omitting "over-here" from vocabulary. I do understand English might not be the first language. But one day at a time. Cheers xx
@shanthikuruba2705
@shanthikuruba2705 8 ай бұрын
These are the best interview questions and concepts.
@AjithKumarsham
@AjithKumarsham Жыл бұрын
Nice content, There's one minor error in myPromise implementation, you should update isCalled = true, instead called = true;
@StarVp03
@StarVp03 2 ай бұрын
Thank you so much for these informative videos.
@RoadsideCoder
@RoadsideCoder 2 ай бұрын
Thanks, u can check the complete course here - roadsidecoder.com/course-details
@jhaganb9215
@jhaganb9215 Жыл бұрын
Can you make videos related to dsa using JavaScript for the dsa round in frontend interviews - also give some idea about how to get frontend internship opportunity while in college. hoping for your reply :)
@nikhildosapati8719
@nikhildosapati8719 Жыл бұрын
Really amazed. I will definitely suggest your channel to beginners who want to understand or learn javascript. Thanks for making the javascript very easy for us😉
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thank you so much brother.
@rajankhunt7002
@rajankhunt7002 Жыл бұрын
Please make video on promise polyfill and include all, race, allSettled, any. i hope you will make video on its all in one.
@Abdulmannan31111
@Abdulmannan31111 Жыл бұрын
Please make a video on Event Loop as well. Your way of teaching is superb. Love from Pakistan 😍❤
@LogicOpsLab
@LogicOpsLab Жыл бұрын
Loved the thumbnail. Gonna copy it someday!
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Haha sure
@rajanmagar5173
@rajanmagar5173 Жыл бұрын
@RoadsideCoder I have great idea to make video upon and this will surely gain more people's interest. The idea is the implementation of Reactjs or Hooks in vanilla js. Thanks me later.😎
@abhishekvishwakarma9045
@abhishekvishwakarma9045 Жыл бұрын
Awesome Series 💯
@serajhassan545
@serajhassan545 Жыл бұрын
Haha.. Most excited 😍🔥
@Indialoves1
@Indialoves1 Жыл бұрын
You are amazing, Great Content.
@shivambln
@shivambln 7 ай бұрын
Yes plz event loop Explain event loop in context of both javascript and nodejs
@srinivasak4087
@srinivasak4087 10 ай бұрын
fabulous explanations , awsome!
@bartikabiswas1926
@bartikabiswas1926 2 ай бұрын
VERY GRATEFUL !!!!!🙏🙏🙏
@akbarsheikh5690
@akbarsheikh5690 Жыл бұрын
Your content is amazing 😊 loved it
@aurrelko
@aurrelko Жыл бұрын
That is one of the best explanations that I've seen so far on KZfaq, keep it up 🫡
@amruthavs2851
@amruthavs2851 11 ай бұрын
Great learning, Thank you Please do a video on Classes in JS
@nitinshetty8187
@nitinshetty8187 Жыл бұрын
I've been following your videos, great content. Please do make a series on Software Design patterns it you be very helpful.
@ProGAMER-um6rm
@ProGAMER-um6rm 6 ай бұрын
Ram Ram bhai Amazing & outstanding Content I have ever seen online but source code kaha milenge ye sare
@adnantoufiq
@adnantoufiq Жыл бұрын
Hello bro. ❤️ I am from Bangladesh. I really like your all vedio based on js. Your explanation is too much good. Please make the more vedio on Reactjs interview question
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Definetly! Thanks ❤️
@elik3765
@elik3765 Жыл бұрын
Amazing content and presentation skills. Thank you!!! only one question, what kind of Indian doesn't wobble his head?!
@ajaykumar-ho4wz
@ajaykumar-ho4wz 9 ай бұрын
i learn more things this js videos please make more videos...
@ajithamin9196
@ajithamin9196 Жыл бұрын
Thumbnail🔥🔥
@gauravdhenge6328
@gauravdhenge6328 Жыл бұрын
hi ..thanks for this video nice efforts ..can you plz make a video on prototype and prototype chaining.
@anandstephan6020
@anandstephan6020 Жыл бұрын
i can give like of your video before the preload ads start
@brijspy
@brijspy Жыл бұрын
Absolute quality content ❤️
@RoadsideCoder
@RoadsideCoder Жыл бұрын
🙏❤️
@user-iw1pj9bb8x
@user-iw1pj9bb8x 6 ай бұрын
bro, wo notion bhi share krdo saath saath. bdiya kaam hojayega
@nanasarathi
@nanasarathi Жыл бұрын
Very informative 👍
@saikumargatla4706
@saikumargatla4706 7 ай бұрын
Piyush polyfill of promise was very interesting. Can we expect a video on prototype and prototypal inheritance. Also I think there is a typing mistake at 54:57 it will be isCalled = true
@RoadsideCoder
@RoadsideCoder 7 ай бұрын
Thanks man, yes I am working on that video
@arunyadav7467
@arunyadav7467 Жыл бұрын
One suggestion be consistent
@nitins5273
@nitins5273 Жыл бұрын
Bro recently one interviewer ask me to create custom react router. Can u pls create a video and explain it.
@mosesjadenmaxi3576
@mosesjadenmaxi3576 16 күн бұрын
Let him cook🔥
@ajaykumar-nx7kb
@ajaykumar-nx7kb Жыл бұрын
Very nice video. Please make a video on oops
@shashidharvarne1059
@shashidharvarne1059 4 ай бұрын
Thank you so much!
@krunaljoshi7390
@krunaljoshi7390 10 ай бұрын
Really content is so good, make some practice platform so that after, watching the video anyone can do some practice because without practice people forget everything. And also I need one urgent help if you are available currently I can't spend money but after some time I will give you money
@nileshnilu7902
@nileshnilu7902 Жыл бұрын
More content like this ☺☺
@yusufansari7618
@yusufansari7618 3 ай бұрын
But while execution this will go in micro task or macro task queue as promise is a micro task please correct me if i am wrong somewhere 😅
@ankushladani496
@ankushladani496 Жыл бұрын
Thank You bhaiya....
@bishwajeetpandey1570
@bishwajeetpandey1570 Жыл бұрын
Please make a video on how promises handled with micro taskQueue
@harshsinghchauhan869
@harshsinghchauhan869 Жыл бұрын
Thumbnail man 💪🏿😂
@vikasnarasimha9923
@vikasnarasimha9923 Жыл бұрын
Freshers also will be asked about polyfills? If yes then what kind of, the easier ones like map filter and reduce or tough ones like promise and it's combinators?
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Anything can be asked
@divyasampath2843
@divyasampath2843 Жыл бұрын
Just have a doubt at 42:29, when we can directly print string from promiseone by logging in the first .then itself, why are we first returning and then printing it separately? Cant we do something like this : promise2.then(res => { console.log(res) // which will print 'First!' })
@tt2318
@tt2318 11 ай бұрын
man you are good thx
@dhirajjaiswal2941
@dhirajjaiswal2941 Жыл бұрын
great THumbnail
@BharathKumar-iq7ku
@BharathKumar-iq7ku Жыл бұрын
Thanks buddy.. Please make video on prototype
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Definitely
@matiasgarrido1004
@matiasgarrido1004 Жыл бұрын
Excelente, as always
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thank you! Cheers!
@srikarravoori124
@srikarravoori124 Жыл бұрын
superb!
@aakashjyoti8605
@aakashjyoti8605 Жыл бұрын
whenever i start this video to practice after some time started to make my own implementations. is it me or its same for everyons
@sequoiakanies2202
@sequoiakanies2202 8 ай бұрын
thank you
@amaljeev
@amaljeev Жыл бұрын
So perfect
@divinomunch
@divinomunch Жыл бұрын
Thanks.
@PankajKumar-tu9nv
@PankajKumar-tu9nv Жыл бұрын
Sir, Please upload interview questions on event loop
@parassingh9723
@parassingh9723 Жыл бұрын
Yes, please make it vedio on event loop.
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Soon!
@jaganvichu
@jaganvichu Жыл бұрын
​@@RoadsideCoderdid you created
@shivamjha.56
@shivamjha.56 Жыл бұрын
Next video on redux pls with a project (not counter app)
@bishwajeetpandey1570
@bishwajeetpandey1570 Жыл бұрын
Please create polyfill for promises chaining also
@TopTalentBridge
@TopTalentBridge Жыл бұрын
bhai thoda arram se hum etne tej nahi ha tho thoda aur explain kar deya karo
@jhaganb9215
@jhaganb9215 Жыл бұрын
Hi bro, love your content and the vibe of the video so wanna ask you a question that is is there a internship which is only for frontend developer and how can i apply for it. Looking for you reply
@Aptilover
@Aptilover 10 ай бұрын
@jhaganb9215 hey did u get internship or job .. if yes then please do connect with me .. waiting for your answer
@jhaganb9215
@jhaganb9215 9 ай бұрын
@@Aptilover no i did not get any internship specifically for frontend. i tried to get but could not even able find any opening for FE . every where it was freshers role only. try open source contribution for frontend project which will help to get FE fresher role even in smaller companies/startups
@saimanikantaandey3302
@saimanikantaandey3302 11 ай бұрын
polyfills for promise asked for a fresher or experienced?
@RoadsideCoder
@RoadsideCoder 11 ай бұрын
yes
@devhandler2821
@devhandler2821 6 ай бұрын
Why is the output of this "First" and not "Promise { 'FIRST' }" . const firstPromise = new Promise((res,rej)=>{ res("FIRST") }) const secondPromise = new Promise((res,rej)=>{ res(firstPromise); }) secondPromise.then((res)=>console.log(res));
@nikhilmathewfrancis2831
@nikhilmathewfrancis2831 Жыл бұрын
Hi bro, I was just working on a use case like getting the images w.r.t to the term the user inputs using react and am using the unsplash api for this and doing the api req using Axios. Now the problem is the api req fn is written in another file called api.js and the result is returned into a component. When returning the resultant its going infinitely when logging. I done this using promise. Can you help here bcoz am stuck here.
@ramkrushnaprabhu8027
@ramkrushnaprabhu8027 Жыл бұрын
Please make tutorial on caching
@amansaxena4446
@amansaxena4446 Жыл бұрын
can you add these questions in a github repo?
@amitshimon8674
@amitshimon8674 Жыл бұрын
Tis is not a valid promise implementation, in the specification states that a promise can be then multiple times, please check you implementation and you will see you can call then only once.
@akash_gupta_2090
@akash_gupta_2090 Жыл бұрын
in allSettled polyfill why u write Promise.all(mappedPromises); ????
@samiullahsheikh5015
@samiullahsheikh5015 5 ай бұрын
You are confusing Aynchronus with promise. Promise doesn't make a piece of code async.... It's just a way to track the async code. Moreover if something some object is thenable it doesn't means it's its returning or executing some asynchronous code. For example in nodejs Promisification is a common pattern where ur can promisify a fuction that receives a call back function. So by promisificaton are not make that function asynchronous
@shivambln
@shivambln 7 күн бұрын
Confused isCalled and called two variable???
@RoadsideCoder
@RoadsideCoder 7 күн бұрын
yes, they are diffeerent
@holyhighways
@holyhighways 9 ай бұрын
This is not working the polyfill you have written. console.log("start"); const inbuiltPromise = new Promise((res,rej)=> { console.log(2); res(2); }) inbuiltPromise.then((val)=> { console.log(val); }) console.log("end");
@jyothig3993
@jyothig3993 Жыл бұрын
Javascript is a single threaded .. But we run asynchronous code .. Can u explain this..
@FahadMasood
@FahadMasood Жыл бұрын
Javascript is single threaded so it will only execute one operation at a time. Asynchronous code runs only after all the synchronous code finish executing. I hope you're clear now
@miruthuladineshbabu7795
@miruthuladineshbabu7795 Жыл бұрын
Asynchronous functionality is achevied by using web API like set time out etc. These are not part of js
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
59:22 line 27-> should not the variable name be "isCalled" ?? you have written "called" then also how is the code running correctly 😂
@RoadsideCoder
@RoadsideCoder Жыл бұрын
No, that's different variable 🥲
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
@@RoadsideCoder but it’s not declared anywhere 😕
@RoadsideCoder
@RoadsideCoder Жыл бұрын
It is, man ki akho se dekho
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
🤪😂 anyway, I checked the related blog, that made it clear 😊 Thanks for making such helpful content!! Keep making them🤟
@princeallen8833
@princeallen8833 6 ай бұрын
My Brain has left the Video on Polyfills part
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
Sir 1 selfish request 1 Reactjs project with CSS (explain css also) 1 Reactjs project which is capable of showcase in resume to impress recruiter Please 🙏🏽🙏🏽🙏🏽 sir make 1 project
@RoadsideCoder
@RoadsideCoder Жыл бұрын
I've Already made a lot of projects, you can check out my channel
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
@@RoadsideCoder yaa but that movie app which is awesome project is in react-router-dom V5 That's why request for modern Reactjs project
@vishnusingh2300
@vishnusingh2300 8 ай бұрын
23:00
@md.asikulislam8569
@md.asikulislam8569 Жыл бұрын
What's the actual reason for undefined ??? const changeAction = (chanelname) => { setTimeout(() => { return (`subscribe to ${chanelname}`); }, 1000); } console.log(changeAction(" Roadside Coder ")); console.log('Ending point ') console.dir(changeAction); Output starting point undefined -----------------------------------------------------------???? Ending point
@mohammadajharuddeen8933
@mohammadajharuddeen8933 Жыл бұрын
Bhai Hindi me video banavo java script or react native ka
@himanshuranjan8657
@himanshuranjan8657 8 ай бұрын
main chiz blurr ho gya sir
@ahmedaz6917
@ahmedaz6917 Жыл бұрын
I try find this Answer more 4 hours A web developer is creating a function to return a promise. Consider the following JavaScript promise function: function greeting() { return Promise.resolve("Welcome"); } How can the developer create an asynchronous function that returns a promise? return "Welcome"; } function greeting() { return "Welcome"; } function greeting() { return resolve("Welcome"); } await function greeting() { return "Welcome"; }
@govardhanreddygunnam6237
@govardhanreddygunnam6237 Жыл бұрын
wow... im 10 months late and still in quarantine
@DevDynasty1999
@DevDynasty1999 Жыл бұрын
Sir Hindi main banaya karo
@sush5651
@sush5651 Жыл бұрын
This truly helped me thnx
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 11 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 585 М.
Top 50 Most Asked JavaScript Logical Interview Questions || Must Watch🤯😱
1:09:02
Front End Mock Technical Interview | JavaScript, CSS, React, and Algorithms
1:33:39
2.5 Years Experienced Best JavaScript Interview
2:03:06
Anurag Singh ProCodrr
Рет қаралды 235 М.