10 JavaScript Interview Questions and Answers

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

КОМЕНТАРІ • 54

  • @nathanthomas1742
    @nathanthomas1742 6 років тому +42

    Talking about scope without including let and const seems strange to me.

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

    1.What is Scope? 0:25
    2.What is Hoisting? 1:02
    3.What is a closure? 1:57
    4.What is functional programming? 2:55
    5.What is the difference between synchronous and asynchronous code? 3:49
    6. How can you determine if something is an array? 4:50
    7. Higher Order Functions 5:18
    8.What is the difference between an array and array-like object? 6:07
    9.What is type coercion? 6:39
    10.What is the difference between two way data binding and one way data flow? 7:09

  • @Nanito354
    @Nanito354 4 роки тому +1

    This is great. Thank you

  • @МироваякухнясЕленой

    Awesome explanation! Thanks!

  • @Nikhilkumar-qd3oq
    @Nikhilkumar-qd3oq 6 років тому +3

    Very useful video. Can you please make another video on other interview questions.

    • @realfirecode
      @realfirecode  6 років тому

      Thanks for the suggestion! I will keep that in mind!

  • @kiva1823
    @kiva1823 5 років тому +1

    We are waiting for part 2 video JS interview questions :) You are a great content creator! Nice video, Nice explanations,

  • @kamalyadav3567
    @kamalyadav3567 6 років тому +6

    You are making good videos. Cheers for that.
    Try to make some videos on real life projects, that would be beneficial to all of us, as learning by doing is a good way to understand some topics. For example: To do list, some small games, or any project you can think of :)

    • @realfirecode
      @realfirecode  6 років тому +2

      Thanks, those are great ideas! I will likely do more of those in the future!

  • @Karan60191
    @Karan60191 6 років тому +7

    what about call, apply and bind. These are also being used much and if you can make some videos on es5+ that would be awesome like arrow functions, rest operators , map, filter and reduce. Also, a small video on inheritance through prototypes and class extends will be super cool :)

  • @Ravikumar-gj6qw
    @Ravikumar-gj6qw 4 роки тому

    Nice and beautiful video

  • @rexkenley
    @rexkenley 6 років тому +22

    A javascript programmer should know what "this" is.

    • @realfirecode
      @realfirecode  6 років тому +1

      Oh yeah, I guess I missed that one!

  • @andriiauziak1178
    @andriiauziak1178 5 років тому +6

    8. It's very confusing when you don't know that "arguments" is a keyword

  • @webpowers
    @webpowers 5 років тому +1

    Wow, I hope it is multiple choice...I never, ever use these terms and completely forgot some of them...I would have totally failed a oral quiz on this...

  • @pekingopera7893
    @pekingopera7893 6 років тому +3

    I have watched a lot of your tutorial. Very good videos and fast pacing style!
    On that mean stack contactlistapp, i was trying to add some validation logic but cannot get it to work. would like see how you do it? you post a new video, or simply update your git repository so I can view your code and download it. Many thanks!

    • @realfirecode
      @realfirecode  6 років тому

      Thanks! Since the MEAN stack tutorial is kind of out of date, I may end up making a new video about validation. I'll let you know when I'm able to get to it!

    • @skillfulactor09
      @skillfulactor09 6 років тому

      do you still reply to your comments and such i was just wonder, i know your busy and such but i had a question if that is alright.

  • @sanghamitranayak4879
    @sanghamitranayak4879 4 роки тому

    Can be added Prototype, inheritance, Call-Bind-Apply, Prototype Chain,

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

    The term array-like object always makes me laugh because it's nothing like an array. It's what your
    Nan would get you for Christmas if you said you wanted an array.

  • @Simbatronix
    @Simbatronix 6 років тому +1

    Thank you!

  • @gjvidz
    @gjvidz 6 років тому +3

    Very helpful video. I'm going to use flashcards to help me memorize the answers.

    • @realfirecode
      @realfirecode  6 років тому +1

      Glad it helps! Let me know if there are other topics you would like me to cover! I was thinking about covering call stack and inheritance patterns also sometime.

    • @gjvidz
      @gjvidz 6 років тому +1

      Learn Coding Tutorials Anything JavaScript related, I know you'll make videos that'll be easy to learn and understand. One topic I would like for you to cover one day is user authentication.

    • @realfirecode
      @realfirecode  6 років тому +1

      Okay, I'll keep that in mind for the future! I'll let you know if/when I get to it.

    • @skillfulactor09
      @skillfulactor09 6 років тому +1

      Learn Coding Tutorials do you remember the interview questions you got asked when you were applying to your current job

    • @realfirecode
      @realfirecode  6 років тому

      My interview wasn't very intense. They asked me how I would design a chat app, and to demonstrate a recursive problem that I brought up myself. I think they were more trying to win me to the position rather than disqualify me.

  • @fabricedufilssiyapdje4317
    @fabricedufilssiyapdje4317 5 років тому +1

    Hey people and specially for the newbies out there. * DO NOT * use the construct at 5:06 . If I m in a point in my life where I have to check the type of a variable I my as well check if this variable is defined. so instead of doing : `if ( arr && arr.constructor === Array )` just use `Array.isArray(arr)` . General rule of thumb use this kind of static function construct and learn all of them, I said * ALL*.

    • @mitkarisunil
      @mitkarisunil 4 роки тому

      I think we can use instance of instead

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

    in 2nd qn though its function expression, it is declared using var know, it won't get hoisted?

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

    everyone loves javascript :)

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

    isnt var inside the function available outside?

  • @naisaechin4515
    @naisaechin4515 6 років тому +1

    Hey, thanks!

  • @jeremy1l
    @jeremy1l 6 років тому +1

    this is a good video

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

    question 6: Array.isArray(possibleArray)

  • @andrerothweiler9191
    @andrerothweiler9191 6 років тому +2

    So I can explain 8 of 10 questions right, so am I ready for a job?

    • @realfirecode
      @realfirecode  6 років тому +2

      Haha, you'll need more than just this information :).

  • @skillfulactor09
    @skillfulactor09 6 років тому +3

    regarding your React video.
    hey i had a question on the react video i was wondering, why did you put ipad iphone text on the left side simply because i wanted to know your thought process
    on why you do what you do example like putting certain things in different places.

    • @realfirecode
      @realfirecode  6 років тому

      Could you tell me where in the video you are talking about? I don't remember, sorry!

    • @skillfulactor09
      @skillfulactor09 6 років тому

      Learn Coding Tutorials it was on the react video

  • @diwakarnrp2092
    @diwakarnrp2092 5 років тому

    Waiting for another video Js interview questions

  • @aidemalo
    @aidemalo 4 роки тому

    Async !== not blocking

  • @karlee8608
    @karlee8608 4 роки тому

    This video is helpful but explanation is way too quick.

  • @swap624
    @swap624 4 роки тому

    One correction on var Hoisting.
    e.g
    console.log(x); // undefined
    var x;
    It creates the structure to the top of its context like below,
    var x;
    x = undefined;
    console.log(x) // undefined

  • @sriramsri1509
    @sriramsri1509 4 роки тому

    Slow