Top 10 JavaScript Coding Interview Question and Answers

Поділитися
Вставка
  • Опубліковано 29 вер 2023
  • 1. FULL JAVASCRIPT INTERVIEW COURSE(with PDF Book)
    JavaScript Interview Masterclass: Top 200 Questions & Answer
    Coupon code JSOFFERAUG2024 applied in below URL- 80% Off - Limited Time Offer
    www.udemy.com/course/javascri...
    Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.
    2. QUICK REVISION BOOK (PDF format)
    imojo.in/interviewhappyjavasc...
    50% Off - Limited Time Offer Applied on above link.
    Don't worry if book not helping you, I will return 100% of your money with in 7 days of purchase.
    Just mail me at anuragrawat123@gmail.com.
    All the best for your interviews.

КОМЕНТАРІ • 107

  • @siddharthtrivedi8692
    @siddharthtrivedi8692 10 місяців тому +35

    please make top 100 js coding questions.

  • @sudheerdarla9812
    @sudheerdarla9812 10 місяців тому +4

    Thanks. Even more optimization for checking prime number is a for loop from 2 to SquareRoot(Givennumber).

  • @RPS-wf3hm
    @RPS-wf3hm 7 місяців тому +4

    Sir, You have given me lot confidence to face the interview. Salut for your work!

  • @user-rv1kh2ep9l
    @user-rv1kh2ep9l 10 місяців тому +7

    Sir , you are doing very very very great Job . hats Off sir. Some peoples are selling their knowledge and experience now these days and you are sharing and distributing free. I more appreciate still less for you. 🙏

  • @kiva1806
    @kiva1806 9 місяців тому +4

    Straight to the point and very well explained. you are a gem 💥

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

    sir you are great .mene interview se pehle apki 3hours ki vedio dekhi itni lengthy vedio mene kbi ni dekhi lekin usko dekhne k bad kisi or vedio ko dekhne ki zrort ni pri thank you so much

  • @_Sujit-khot_
    @_Sujit-khot_ 8 місяців тому +2

    good luck sir 👍

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

    Thank you again and keep up more questions.

  • @LifeinBangalore502
    @LifeinBangalore502 10 місяців тому +2

    Thank you so much sir for this video and nice explanation 🙂

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

    We need more js video same as it is 🔥🔥🔥🔥

  • @vinamrasangal8436
    @vinamrasangal8436 Місяць тому

    thank you so much sir

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

    Very nice coding explained very well thank you....

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

      Thanks Naren and all the best for your career.

  • @tusharutane8031
    @tusharutane8031 10 місяців тому +3

    amazing content hoping for the same content as we are applying for jobs

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

      Thanks Tushar and all the best for your career.

  • @user-jf9cv4zv3f
    @user-jf9cv4zv3f 10 місяців тому +2

    Love you my all time respected sir , plz give more qn in coding

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

      Thanks and all the best for your career.

  • @sushmithashenoy7581
    @sushmithashenoy7581 2 місяці тому +1

    Thankyou for your effort sir🙏
    Q10 : can be done like this i suppose
    whitespaceremoved= str.split(" ") .join("");

  • @ansarisuhail5127
    @ansarisuhail5127 4 місяці тому

    Thank u so much sir .
    But sir try to make some complex coding questions for interview

  • @saranyaa5642
    @saranyaa5642 8 місяців тому

    Thank you so much sir. Give us more programming questions in javascript which will be very useful for our interview sir.

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

    another great content thaks a lottt for this

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

    thank you sir i completed all questions and prepared so now make more videos on reactjs coding interview it is very help more me for the cracked interview.

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

    Thanks a lot., for supporting

  • @ShubhamKumar-dc9tu
    @ShubhamKumar-dc9tu 10 місяців тому

    Great video sir thank you so much plzz add more video like this question solve

  • @jitendrakumarjat855
    @jitendrakumarjat855 10 місяців тому +4

    sir please make videos on react js series for intermediete level your explanation top notch

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

      Sure, after JS, I will cover React.

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

    Sir, i have done my bsc in 2019, after that i was doing the job but it was from non it.. so am i elegleble for becoming a devloper as a fresher...

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

    sir plzz create a video on react js coding interview also

  • @MomLifeJournal
    @MomLifeJournal 8 місяців тому +1

    Thank you …

  • @saranyaa5642
    @saranyaa5642 8 місяців тому

    Please post top 10 react programmatic questions asking in frontend

  • @3x10.8_ms
    @3x10.8_ms 9 місяців тому

    mazza aa gya

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

    Thank you Sir,

  • @whatisimprov
    @whatisimprov 10 місяців тому +3

    for largest number would this work
    const findLargestNumber = (arr) => {
    const largest = arr.sort().reverse();
    return largest[0];
    };

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

      woww.... that's what I want. Try new ways of doing things. Check this in some online compiler. All the best for your career.

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

    Thankyou!

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

    Sir, we are looking more coding Questions like this in javascript please do it .💥

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

      Will upload soon @code_techbysubham

  • @RajKumar-yc1qx
    @RajKumar-yc1qx 5 місяців тому

    Thanks for creating such a wonderful video, it was very sweet of you !

  • @nirmalaavvaru5432
    @nirmalaavvaru5432 2 місяці тому

    Hi Sir, Please upload the videos on Vue js Interview Questions and Answers.

  • @user-wk4fj1rj2n
    @user-wk4fj1rj2n 10 місяців тому

    Very nice video!!

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

    very nicely explained

  • @RaviRanjan-yi5rq
    @RaviRanjan-yi5rq 9 місяців тому

    if possible please add Azure and DevOps Interview Question

  • @N_n5566
    @N_n5566 4 місяці тому

    Can you suggest me more interview coding questions to clear code round.Iam practising but iam not able to clear coding round.I have practiced your questins also but not cleared the round.Please suggest me interview tricky coding questionss to clear that round.

  • @imoniiii
    @imoniiii 2 місяці тому

    please make with like this for react .

  • @omkarmore4453
    @omkarmore4453 8 днів тому

    Sir can you pls add more complex dsa questions

  • @SURESHREDDY-cm7vt
    @SURESHREDDY-cm7vt 9 місяців тому +1

    Nice explanation. I have one doubt? If you don't mind , can explain me? What's the difference between javascript and java?

    • @RamanNani1998
      @RamanNani1998 8 місяців тому

      Javascript is scripting langauge but java is pure backend language

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

    Thank you

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

    Good

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

    Nice

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

    Sir , execute in vs also

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

    Will they ask these questions for 2+ years experience employee also?

  • @AradhanaTurkar-pr9sv
    @AradhanaTurkar-pr9sv 9 місяців тому +1

    Sir I have combine mock on html,css,js can u make video on this please sir

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

    Sir, Please do promises, async and await coding concepts and React interview questions, Mor helpful preparing the interview questions

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

    your teaching way is osam sir please pray for me whean i got select i will defently inform you sir

  • @user-jf6ug8ki3j
    @user-jf6ug8ki3j 4 місяці тому

    I crack my js interview from your support ❤❤

    • @mathswala6951
      @mathswala6951 4 місяці тому

      Give me your insta id bhai

    • @yashbadgujar-qq9iz
      @yashbadgujar-qq9iz 4 місяці тому

      heyy what kind of js coding questions u were asked please reply it would be very helpful

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

    sir plz put the last question answer

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

    how can I run and test it

  • @rajkirankelangi5751
    @rajkirankelangi5751 Місяць тому

    please make top 100 js coding questions. guys hit like buttom 🔘✅🔳

  • @NikhilSingh-pb2jg
    @NikhilSingh-pb2jg 4 місяці тому

    First question.. Logic for doing in short way is wrong as after splitting using " " , we need to loop and then reverse.

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

    🎉

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

    Sorry but i cant get the Duplicate element question

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

    join is not working sir

  • @dineshkumarravichandran4981
    @dineshkumarravichandran4981 Місяць тому

    function larNum(){
    const num = [1,2,3,4,5];
    var laNum = 0;
    num.reduce((x,y)=>laNum = x>y?x:y)
    console.log(laNum);
    }
    larNum();

  • @dineshkumarravichandran4981
    @dineshkumarravichandran4981 Місяць тому

    function primeNum(){
    const num = [1,2,3,4,5];
    var prime = num.filter((x)=>x%2!=0)
    console.log(prime);
    }
    primeNum();

  • @ArnabKhanrah
    @ArnabKhanrah Місяць тому

    In the 'IsPrime' function we need to add
    If(number < 2){
    return false;
    }
    Otherwise isPrime(1) will return true.

    • @regilearn2138
      @regilearn2138 9 днів тому

      no need thats why the for loop started from 2

  • @dineshkumarravichandran4981
    @dineshkumarravichandran4981 Місяць тому

    function fact(){
    const num = 5;
    var factorial = 1;
    for(i=1;i

  • @priyankasaini7204
    @priyankasaini7204 7 місяців тому

    21:00 Using recursion
    // Write a function to calculate factorial of a number.
    // one way
    function factorail(num){
    if(num===1)
    return 1;
    return num* factorail(num-1);
    }
    // console.log(factorail(5));

  • @kumaxFPS
    @kumaxFPS 8 місяців тому +1

    Q2 - can be done with REDUCE fx too !
    const words = str.split(" ")
    const ans = words.reduce(function(acc, curr){
    if(curr.length > acc.length){
    acc = curr;
    }
    return acc;
    },"")
    return console.log(ans)

  • @priyankasaini7204
    @priyankasaini7204 7 місяців тому

    17:00 Antother way
    // // write a function to find the maximum number in an array
    let arr= [2,4,56,7,2,100,5444,1,0];
    function maxElement(arr){
    return Math.max(...arr);
    }
    console.log(maxElement(arr));

  • @nayiriya1921
    @nayiriya1921 7 місяців тому

    Sir please make a video in hindi

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

      Sure Soon

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

      @@interviewhappy sir aapke UA-cam series se html,css,bootstrap, JavaScript and react ke questions solve kare to itna fresher/intern Front-End developer interview ke liye enough he?

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

    These are fun to practice. That said these are not enough for first round. So i kindly disagree.

  • @Raj_Panchalll
    @Raj_Panchalll 8 місяців тому +1

    const str = 'Hello world'
    const reversedStr = str.split(' ').reduce( (acc, char) => char + acc + ' ')
    console.log(reversedStr)

  • @HangOut-BK
    @HangOut-BK 26 днів тому

    //*check palindrome
    let p =(s)=>{ return (s==[...s].reverse().join``)
    }
    console.log(p("chethan")); //true
    //*reverse string
    const str ="hello"
    console.log([...str].reverse().join``)
    //*remove duplicate
    const num=[1,2,3,4,4];
    console.log([...new Set(num)]);

  • @sequoiakanies2202
    @sequoiakanies2202 6 днів тому

    Remainder* , not reminder
    Sorry I have to. It’s like a disease 🦠

  • @sadanandamcharynani7631
    @sadanandamcharynani7631 7 місяців тому

    thank you so much sir