JavaScript Interview Questions- Machine Coding - Most Asked Question|Reverse Word in String

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • In JavaScript Interview there would be few questions to test your knowledge on built in functions , you must be comfortable with Arrays/Strings functions and in this video, I have talked about same.
    Watch the complete video till the end to understand it completely
    Checkout my Instagram account to find the latest notes on React, Angular and Javascript.
    Instagram handler Name: @nishasingla05
    Watch complete video to understand in depth.
    Support my channel by liking and sharing my videos so that I can reach to wider audience. Please share it in your network 🙏
    ►Checkout JavaScript Interview Playlist
    • Frontend Interview Que...
    ►Checkout ES6 Playlist
    / playlistlist=plc8okhrv...
    ►Click here to Subscribe the channel:
    studio.youtube....
    ►Angular Complete Course:
    ruclips.net/user/pl....
    ►All important shorts videos:
    ruclips.net/user/pl....
    Connect with Me On Social Media
    Facebook: / angularjs4be. .
    LinkedIn: / nisha-sin. .
    Instagram : / nishasingla05
    Twitter: / nishasingla05
    #nishasingla #javascript #interview

Комментарии • 13

  • @naganathan5312
    @naganathan5312 Год назад +4

    Hello, Nisha. Thank you for sharing this. Your javascript playlists have been extremely useful to me. make more javascript and reactjs interview question videos

  • @vetrivelpanneerselvam1477
    @vetrivelpanneerselvam1477 Год назад +1

    Thanks for sharing this, thank you so so much🙏

  • @cartoonwalasudhir
    @cartoonwalasudhir Год назад +1

    Please make more interview questions JavaScript series 👍💯

  • @user-xm1cp3lx3l
    @user-xm1cp3lx3l 7 месяцев назад

    Good Approach this javascritp coding. thank you

  • @kumar_awadhesh
    @kumar_awadhesh Год назад +3

    I was also given the same question but they told me not to use modern js like ES6. Instead of using nested for loop..

    • @sumanthprabhu11
      @sumanthprabhu11 Год назад +2

      If they had told you not to use reverse and make your own reverse function that is understandable but telling you not to use ES6 that's a Red Flag

    • @ajaykumar-ho4wz
      @ajaykumar-ho4wz 5 месяцев назад

      @@sumanthprabhu11 const input = 'i love javascript';
      function reverseString(input) {
      let output = ''
      input = input.split(' ');
      for(let i=0;i=0;j--) {
      str += word[j];
      }
      output += str + " ";
      }
      return output;
      }
      console.log(reverseString(input));

  • @akiratoriyama1320
    @akiratoriyama1320 Год назад

    Very nice explanation!!

  • @asifferdous2432
    @asifferdous2432 Год назад

    👌👌

  • @manojsatwase
    @manojsatwase Год назад +1

    Single line of code
    'i love javascript'.split('').reverse ().join('')
    If you put split and join not space then it return tpircsavaj evol i and i you put space split and join then it will return javascript love i

  • @cartoonwalasudhir
    @cartoonwalasudhir Год назад

    Thank you so much❤😊

  • @ajaykumar-ho4wz
    @ajaykumar-ho4wz 5 месяцев назад

    const input = 'i love javascript';
    function reverseString(input) {
    let output = ''
    input = input.split(' ');
    for(let i=0;i=0;j--) {
    str += word[j];
    }
    output += str + " ";
    }
    return output;
    }
    console.log(reverseString(input));