2023 updated ! 🔥 Complete Javascript interview questions and answers🔥 [All common topics covered]

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 148

  • @AdityaSharan811
    @AdityaSharan811 2 роки тому +7

    Replying to 34:59 SetTimeout actually schedules the return value not the execution of the function which is why we get 0,1,2 in the output.

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

      The argument of setTimeout should be a reference to a function (function expression) and not the return value

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

    commenting for appreciate your efforts . { heart de dena 😂 pta to chale padhte bhi ho ya nhi }

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

      I read all comments and answer within 48 hours, thank for your support !!

  • @jameshunt1822
    @jameshunt1822 2 роки тому +8

    This is what was needed. I am fresher and found myself parotting answers to questions without knowing what is happening where. Thankyou, will check out the playlist next.!! God bless!

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

      Glad it was helpful and Thanks for watching the video. In case if you not subscribed to my channel please subscribe and watch all my videos.

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

    Thank you sir

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

    The best javascript brush up ever

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

      Thanks!! please share the channel details with your friends

  • @shubhanshusahuu
    @shubhanshusahuu 6 місяців тому +2

    Knowing this level of details is a new kind of Flex FR😂😂

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

    great video its really help thanku

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

    Great video, really helpful because I can't find any other video with this level of details

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

    Very clearly explained. Thank you.

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

    such a humble person!

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

    Started my interview preparation with the help of your videos

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

    Actually I don't comment on any videos regularly.
    But your content was so rich . The way of teaching is fabulous
    A big heart from my side and after this i will start watching the series of your

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

      Thanks a ton Avinash, please share channel details with your friends !!

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

    Thank you Vasanth for putting in the efforts.

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

      It's my pleasure !! please share channel details with you're friends !!

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

    Very good content

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

      Thanks Serge, please share channel details with your friends !

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

    Good job

  • @Parle-G-Biscuit
    @Parle-G-Biscuit Рік тому +1

    Thank you vasant, watched Full video in one go. Video is so interactive.

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

      Thank you, please share channel details with your friends.

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

    Thank you so much for your effort 🙏

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

    Thanks for such long video on Interview question, really appreciate your efforts

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

    Thank you very much sir , these kinds of a videos reach out to more students who were going to face the interviews because it's very well planned and organized sir keep it up :)) Love from Sri Lanka sir

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

      Thank you means a lot !! Please share channel details to your friends !!

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

    very good explanation. Can you please do some more videos on intermediate and advanced version

    • @careerwithvasanth
      @careerwithvasanth  10 місяців тому

      Hi, I'm planning for the same by end of February, keep me subscribed

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

    This video breaking a lot of noob/experience myths. Thankyou.
    please correct me if my statement is wrong w.r.t closure:
    A function which wrap another function with its lexical scope and bundle together forms closure.

  • @rushikeshdhanawade4425
    @rushikeshdhanawade4425 10 місяців тому

    Useful even in 2024 ! Thankyou Sir ! #js_community

  • @FaizanSiddiqui-xo7fb
    @FaizanSiddiqui-xo7fb Рік тому +1

    You are doing a great job, Thank you

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

      You are welcome! !! please share channel details with you're friends !!

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

    I really brushed up lot of things. Yes I completely agree that the information you are providing is not at all found on any blog..
    I'm excited to grab the knowledge from you by watching all the videos..
    Few doubts I have 😅
    1. Everytime there is one question they ask me about closures is, Can you give me a real world example or can you explain me why closure is needed. I would like to know the answer from you.
    2. How do you evaluate the client side code when a user is opening external urls/multiple sites from our application. How do you validate that person on that external urls page as Auth token or client code is already been used in our application
    3. Advantages of arrow functions apart from syntax
    4. Disadvantages of Virtual DOM
    5. Why don't we update props ?
    6. How do we destroy data ? (let's say I don't want any data)

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

    you are doing absolutely good work

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

      Thanks Urkarsh, please share channel details with your friends !!

  • @Savitha-v5q
    @Savitha-v5q 2 роки тому +1

    Useful comment
    .able to learn more

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and watch all my videos.

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

    Keep up the good work sir

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

      Thanks, will do! please share channel details with you're friends !!

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

    very well explaination

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

    your vedioes are just awesome! very Helpful for the interviews...thankyou so much Sir..

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

      Glad you liked it, please share the channel details with your friends

  • @vinaykanth-s
    @vinaykanth-s 2 роки тому +2

    Thank you

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.

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

    Ur the god of frontend man i want you to upload daily videos plz...

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

      Thanks for your love and support !! I'm quite occupied and not getting lot of free time, due to which I'm unable to upload videos regularly.

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

    Its a really a superb, very challenging and unique examples

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.

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

    thanks for the videos man

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

    One of the best channels for programmers

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

    Very well explained 👍

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

      Thanks for commenting Tanvi.
      Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos and share the channel with your friends.

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

    great content

  • @er.soumyavlogs
    @er.soumyavlogs Рік тому +1

    i like your effort sir

  • @Jagadeesh-ij5rt
    @Jagadeesh-ij5rt Рік тому

    Your videos are really very helpful for me to brush up my skills. Thank you very much.

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

      Glad to hear that! please share channel details with you're friends !!

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

    Please also include more experienced candidates interviews, specifically those with over 4 or 5 years of experience.

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

      BTW nice content.

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

      ua-cam.com/video/uW7MfzoD1po/v-deo.html here you have a complete series of various different experienced level !! please check it

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

    Sir, Object based questions also asking many interviews. One interviewer asked one question. If in http method, we get huge number of records like 30 lakhs that time how to manipulate the results . Arrays also we can't use he said. Please help me how to mainpulate the records.

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

      Join our 2900+ member uncommon geeks telegram group here, you can discuss such queries there
      t.me/uncommongeek install telegram app on your mobile and click this link. this would be a great place to discuss questions link this. Also, you will get a good community, monitored by me.

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

      @@careerwithvasanth I sent request. Please accept it.

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

    So good explanation

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and watch all my videos.

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

    well explained

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.

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

    Great work, something new to know :) keep the good work for youths

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

      Thank you, I will, please share channel details with your friends

  • @prakashnaikwadi
    @prakashnaikwadi 2 роки тому +2

    didn't find the solution to why set timeout is not able to block self-invoking function, please give an answer...

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

      Prakash, thanks for commenting. Share what you think could be the answer !! I will correct you, in case if you're wrong.

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

      @@careerwithvasanth
      📌 First example2 FEC(Function Execution Context will be created)
      📌 Then this function will go into two phases of code execution i.e. 1. memory allocation and 2. code execution
      📌 In the first phase, JS tries to register this self-invoking function but it sees it and executes it immediately.
      📌 So, till now code execution phase has not yet started, so setTimeout() is also not yet executed.
      📌 This is the reason why setTimeout() is not able to stop the execution of that function.

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

      I think the easy answer is because the first argument of setTimeout is supposed to be a reference to a function and not the function call itself.
      For ex. Its the same reason why onClick={myFunction()} executes immediately on render vs onClick={()=>myFunction()} only executes on click.
      SetTimeout is a promise that takes a callback function that is placed onto the callback queue. So bascially you're not giving the callback queue a refrence to that function rather your just calling it immediately

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

    pls make video on react js also advanced questions

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

    Thank you so much Sir ... A lot of doubts were covered in this video.
    And honestly I didn't find it to be a long one as I was able to learn a lot ..
    Thanks again ☺️

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

    Awesome 🆒🆒

  • @m.sivadatta8003
    @m.sivadatta8003 5 місяців тому

    Fan of your work sir!

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

    Very very useful 🎉

  • @fatimaaziz-ms6yi
    @fatimaaziz-ms6yi 9 місяців тому +1

    please add interview questions related to callback hell concept

  • @phaddu7737
    @phaddu7737 2 роки тому +2

    Please do make a similar one on React, that would be really helpful.

    • @careerwithvasanth
      @careerwithvasanth  2 роки тому +2

      Hi Ph Addu, thanks for watching the video. In case if you have not subscribed to my channel, please subscribe and watch all the videos. Answering to your question, Yeah, I'm planning to do it this week. Will post the link here. Please share this channel with your friends.

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

      @@careerwithvasanth Thank you for the quick response, thank you for the amazing content. Subscribed

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

      Ph Addu: ReactJS complete tutorial is out here: ua-cam.com/video/o22KRrxab18/v-deo.html Please watch it and give your valuable feedback in comments. Do not forget to like the video.

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

    I liked your videos...but
    1. Your mic is not clear and crisp
    2. Your speak a lil bit in fast pace 😅

  • @48mantusubudhi72
    @48mantusubudhi72 Рік тому

    Hi , In ES6 they introduced class system in js then how hoisting is happening there in case of functions

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

    After searching for a solution, it looks like IIFE inside the setTimeout prevents the delay. It ultimately makes it run immediately and turns the delay useless (it won't ever get called with it). Let me know if this is correct

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

      Correct answer !! Join our 2900+ member uncommon geeks telegram group here, you can discuss such queries there
      t.me/uncommongeek install telegram app on your mobile and click this link. this would be a great place to discuss questions link this. Also, you will get a good community, monitored by me.

  • @thomasj.5382
    @thomasj.5382 Рік тому

    Appreciate your work

  • @santoshmore2953
    @santoshmore2953 2 роки тому +2

    doing great. one thing i want to know which pays more frontend or backend?

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

      Nothing as such Santhosh, both can pay high. Just you need to be master that's it.

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

    Thank you for the video. Really useful. I think you need some more energetic presentation.

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

      Thanks for commenting Nikhil. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos and share the channel with your friends.
      Feedback taken, will try to be more energetic in upcoming videos.

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

    Waiting for new content in DSA (like BST, dynamic programming). Also do you have any plan for system design in future?

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

      Hi Sudheer, I will be adding more videos by coming week.

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

    Indeed your channel is very underrated. Great work bro 👍

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

      Thanks for watching the video Garry's, if you have not liked it, please like it and share it with your friends. In case if you have not subscribed to my channel, please subscribe.Answering you're comment, people are busy watching Goody videos of different company 😂

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

      @@careerwithvasanth done it bro 😊 subscribed, Liked .

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

      @@garrysyt8461 Thank you, please share the channel with your friends who are preparing for frontEnd interview.

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

      He just started, will reach eventually

  • @juanmamenendez
    @juanmamenendez 2 роки тому +2

    Men you should put on the description or a pinned comment the minutes of the different exercises

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

      Let me start that Practice Juanma. Thanks for watching video, if you have not liked the video or subscribed to my channel please do it. Don't forget to share this channel with your friends.

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

    loved the video just please upgrade your mic sir

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

      I will .. I already have better mike, in future videos you will see it

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

    ur giving lot of things

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

    Needed

  • @anjalichauhan6347
    @anjalichauhan6347 2 роки тому +2

    34:36 can you provide answer ?

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

      Thanks for commenting. In case if you not subscribed to my channel please subscribe and watch all my videos. Answering your question, can you try guessing it first ? I can correct if that is not right.

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

      @@careerwithvasanth it's not waiting for function to invoke, executing at line 5 only, and it would return undefined as setTimeout still in macro Queue.
      But I also read that setTimeout executes asynchronously even with an IIFE.
      So I didn't able to figure out after returning undefined from IIFE, how it showing answer 0 1 2 🤔

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

    Sir Sound quality doesn't seems good.

  • @harishneerati1805
    @harishneerati1805 7 місяців тому +1

    But arrow function are not hoisted

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

    Excellent Video.
    The declarations appear to be hoisted.... instead of being actually hoisted... Ok
    Ok, but why is this question important? It is a simple info. Even it were actually hoisted (it doesn't), would it make any difference?

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

      It just explains the depth of understanding !! is it important , that varies depending upon interviewers expertise.

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

    12:47 brother confused his channel name 😂

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

    I never find such a video on any sources thank s a lot for the everything

  • @UjjwalKumar-kd1tk
    @UjjwalKumar-kd1tk Рік тому +2

    Sir you speak very fast
    Some understand what you are saying and some don't understand so what are you saying

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

    Explaining in Hindi should be more better for the audience to be friendly with u .....as we are not small childrens

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

      What does speaking English have anything to do with being treated like children ? You are going to give the interview in English whether you like it or not

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

    Your audio is not clear

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

      I already have new bike, you will see that in upcoming videos.

  • @srinivasjoshi4693
    @srinivasjoshi4693 2 роки тому +2

    Where can I connect with you vasanth ? Twitter or your mail ID?

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

      You can follow me on LinkedIn Srinivas. If you not subscribed my channel, please subscribe.

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

    Great video

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

    Thanks sir

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

    Very well explained