Top 50 Most Asked JavaScript Logical Interview Questions || Must Watch🤯😱

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 28

  • @RowdyCoders
    @RowdyCoders  Před 2 měsíci +3

    Hey Rowdy Coders, seems there is an issue with question 20. It is giving different result in different platforms,
    The answer that my VSCode giving is wrong, so please run it in your device!
    Sorry for the inconvenience!

    • @anonymousmaths
      @anonymousmaths Před měsícem

      in shallow copy when we change primitive value it won't change for other i.e arr2 , if we change non-primitive value then it affect other i.e arr2
      for example=>
      1)changing primitive value
      const user1={
      name:"chandan",
      age:25,
      address:{state:"up",city:"noida"}
      }
      const user2={...user1}
      user1.name="aryan" // primitive
      console.log(user1);
      console.log(user2);
      ans=> user2 will not change
      2) changing non-primitive value
      const user1={
      name:"chandan",
      age:25,
      address:{state:"up",city:"noida"}
      }
      const user2={...user1}
      user1.address.city="varanasi" // non primitive
      console.log(user1);
      console.log(user2);
      Ans=> it affect user2
      ---------------------------------
      for arr1[0][1] = "1";
      arr1[0][0] = "0";
      it will affect arr2 (non-primitive change)
      but for
      arr1[1] = 33;
      arr1[0] = 22;
      no effect on arr2 (primitive change)

  • @rajeevnathverma7877
    @rajeevnathverma7877 Před 5 dny

    Question 20 alos correct, actually you change first array1 value at the time of run so that's why Array 2 is similar to array 1

  • @mayurthemaskar9182
    @mayurthemaskar9182 Před 2 měsíci +2

    Great video! Really helpful to see the top 50 most asked JavaScript logical interview questions. Please make more videos like this on JS and React. Keep up the awesome content!

    • @RowdyCoders
      @RowdyCoders  Před 2 měsíci

      @@mayurthemaskar9182 thank you!🙏

  • @shadabalam6712
    @shadabalam6712 Před 17 dny +3

    your questions are good but your explanations are Rapid and uncleared.. please explain in a clear context..

  • @dreamvallyhasan4807
    @dreamvallyhasan4807 Před měsícem +1

    Best of the best to brush up JavaScript thanks a lot 💕💞❣

    • @RowdyCoders
      @RowdyCoders  Před měsícem

      Thank you 🙏 very much glad🥳🥳

  • @archiejain1974
    @archiejain1974 Před měsícem +1

    Hello It is really helpful to brush up the js skills.
    It would be good if you could create video of mostly asked coding questions based out of ‘array of objects’, utilizing array methods

    • @RowdyCoders
      @RowdyCoders  Před měsícem

      @@archiejain1974thank you!
      Sure will create more videos on ‘Array of Objects!’

  • @venkykp174
    @venkykp174 Před 9 dny

    Good

  • @Someshsunariwal
    @Someshsunariwal Před 2 měsíci

    Awesome 🎉

  • @ShreeRamSingh-vl9tl
    @ShreeRamSingh-vl9tl Před 2 měsíci

    I am fresher preparing frontend interview can this video help me in interview or this is for senior developer

    • @RowdyCoders
      @RowdyCoders  Před 2 měsíci +1

      Only few of the questions in this Video are in scope for freshers. I will be creating separate content for freshers exclusively.

    • @ShreeRamSingh-vl9tl
      @ShreeRamSingh-vl9tl Před 2 měsíci

      @@RowdyCoders Annayya, could you please provide me with a JavaScript fresher interview video link?

  • @amitamrutiya2210
    @amitamrutiya2210 Před 2 měsíci +2

    Question 20 explanation wrong.

    • @RowdyCoders
      @RowdyCoders  Před 2 měsíci +2

      Seems this question result itself is giving different in different platforms. My bad!

    • @amitamrutiya2210
      @amitamrutiya2210 Před 2 měsíci +5

      @@RowdyCoders appreciate your replay.

    • @rajeevnathverma7877
      @rajeevnathverma7877 Před 5 dny +1

      Question 20 alos correct, actually you change first array1 value at the time of run so that's why Array 2 is similar to array 1

  • @jantypal9314
    @jantypal9314 Před měsícem

    You should try to explain in hindi
    It will be more beneficial for you and for also students

    • @sg-ck2oh
      @sg-ck2oh Před měsícem +1

      He's trying his best learn from it !!

    • @anitha2053
      @anitha2053 Před 7 dny

      Y hindi. Do you think everyone understands! Get educated in English as a software it's minimal skill. Stop demanding forcing others let them do whatever they wanted to

    • @tijo_thomas
      @tijo_thomas Před 7 dny

      English is the best and the most standard way to communicate in any IT industry or any firm. You should try to learn English, not Hindi.

  • @rajeevnathverma7877
    @rajeevnathverma7877 Před 6 dny

    Question 5 - last part explanation not cleared.
    Last part is closure to fix first part issue.

  • @rajeevnathverma7877
    @rajeevnathverma7877 Před 5 dny

    Great bro

  • @rajeevnathverma7877
    @rajeevnathverma7877 Před 5 dny

    Q21 why there are 3 undefined?