Higher Order Functions Interview Question| Modern Javascript 2021

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

КОМЕНТАРІ • 44

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

    i liked the way you explained Array.prototype now i can utilize, in the place of map,reduce,filter

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

    Very useful..i am happy understand my long time doubts. Thank you

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

    Good Content

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

    Clear Explanation thank you!👍

  • @ramadevi-xe4be
    @ramadevi-xe4be Рік тому

    excellent explanation nisha

  • @Avishekkumargupta-e9k
    @Avishekkumargupta-e9k Рік тому

    Your video are very helpful to me. thanks a lot. ............explanation should be twice instead of square.

  • @RakeshKumar-br3rg
    @RakeshKumar-br3rg 3 роки тому +2

    Plz explain pure and impure functions. Thanks for your great videos.

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

    Thank you Nisha for simply awesome explanation. Your deep copy and shallow copy video helped me in my interview.
    please make more and more videos for front end interviews :)

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

    Clear explanation

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

    Nisha , it was really helpful tutorial pls make one complete playlist on interview javascript these thing

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

    @Nisha singla could you pls do “Joseph’s problem “ using recursive in java script

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

    👍 nice

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

    Hi Nisha, your explanation next level,
    I thought instead of citizen, it's object.

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

    Thanks nisha its very useful

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

    1:31 second Syntex is wrong you forget to write =>

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

    Please upload more videos of Advance Javascript.

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

    Please give me some project ideas to implement rxjs in angular..

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

    why everyone does not give real life usecase of hof?

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

    Nisha do video on life cycle hock

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

    Hi nisha, your videos are good. Can you please make videos on oops in javascript

  • @hi-yi7en
    @hi-yi7en 2 роки тому

    Tq

  • @Dev-fk5rn
    @Dev-fk5rn Рік тому

    It would be much obliged by us if upload notes for the same as well..🎉

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

    Just a correction , square is number * number

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

    Nice video ma'am. But square means number*number . Not multiple with 2. 😉

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

      Yes, you are right... add a subtitle to correct that.. Thanks to bring it in my notice... :)

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

      Ma'am please make video on practical coding issue.

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

      How big companies write some pices of codes? What are their parameters for a specific language . Such as c#, javascript, how they write?

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

      @@NishaSingla good content; Thanx for explaining this concept;
      As I see and understand this --> this helps write clean code. Not just very long walls of JS/ES6 code that we often end up with, in projects, but isolating, segregating pieces like individual/independent building blocks; I suppose this promotes easier testability of the same as well like unit tests etc. That, plus the point you mentioned yourself --> making it more reusable
      *** func. logic should be d[i]*d[i] as it's not double but square.

    • @NishaSingla
      @NishaSingla  3 роки тому +4

      Absolutely…. You mentioned it very well
      And regarding formula , I added in caption the correct one.. 😊😊

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

    Please help me on this :
    write a function which will display all the values with 'value' key in es6
    let multiLevelData = {
    value: 2,
    data: [{
    value: 3,
    data: [{
    value: 4,
    data: [{
    value: 6,
    data: []
    }]
    }, {
    value: 5,
    data: []
    }]
    }]
    }

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

      function recursivePrintData(d) {
      console.log(d.value);
      if (d.data.length === 0) return;
      d.data.forEach((val) => {
      recursivePrintData(val);
      });
      }
      recursivePrintData(multiLevelData);

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

    In function x argument is fn but inside the function you are doing fn() I didn't not understand why you are doing this

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

      Because I am passing y to x function x(y) and if you check here y is also a function which I am referring with fn argument inside x function , so I am calling fn() , it means it will execute y() function and that is Higher Order function( function passing as argument to other function)
      I hope its clear

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

      @@NishaSingla thank you for your clarification now crystal clear.

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

    Array.prototype.repEachElement = function(callback) {
    return this.reduce((newArray, element) => {
    newArray.push(callback(element));
    return newArray;
    }, []);
    }
    let data = [1,2,3,4,5,6];
    const op = data.repEachElement((el) => el);
    console.log(op);

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

    square of 10 is 100, how come 20, that is multiplication of 2.