JavaScript Map Method Tutorial in Hindi / Urdu

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

  • @mohammadbilal5745
    @mohammadbilal5745 3 года назад +9

    I have been learning by watching your videos of HTML, CSS and Javascript for the last one week. Sir, I must say, your videos are like a precise answer to a good question. You are trying to clear each and every concept of a particular topic.
    I have seen so many RUclipsrs start their videos in a particular language but they end up their tutorial by making 10-15 videos which are not enough for any language. Your more than 90 videos of CSS and Javascript are very helpful.
    It's my request to you provide us the videos on Angular JS or Angular 2+, please.

    • @KaushalSingh-b6u
      @KaushalSingh-b6u 5 месяцев назад +1

      Bhai job lagi

    • @nabinbist1554
      @nabinbist1554 2 месяца назад

      @@KaushalSingh-b6u haha that was same question in my head

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

    Love you bhai mere. You always explain awsome yaar.

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

    All video Explain very good I learn this video in 2 week thanks yahoo Baba👍

  • @maeenuddinansari1628
    @maeenuddinansari1628 5 лет назад +5

    Sir aap video bhut achhi bnate ho aaj nhi to kal aap k subscriber bd jaynge

    • @YahooBaba
      @YahooBaba  5 лет назад +2

      Thanks Maeenu for ur Good Wishes.

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

    Thank You so much baba. Nobody on youtube explained this easily. I wish my teachers could teach like you

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

      Thanks for appreciating my work :)

  • @jagdishjena9058
    @jagdishjena9058 2 года назад +1

    Thank you so much sir, Jabarjast easy method se samjhaya he apne , hats of to you sir.

    • @YahooBaba
      @YahooBaba  2 года назад

      Thanks and Welcome :)

  • @CodePressAcademy
    @CodePressAcademy 2 года назад +1

    explained very easy way every videos, thanks lots

    • @YahooBaba
      @YahooBaba  2 года назад

      You are most welcome

  • @nomanali9836
    @nomanali9836 5 лет назад +2

    world is best teacher in the world love from pakistan

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

      you should learn english first 👍

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

    very good content sir

  • @SandeepVerma-nv4jw
    @SandeepVerma-nv4jw 4 года назад +2

    Perfect Tutorials. Super Work Sir. Keep going on. Best of Luck

  • @rabiulmiah2169
    @rabiulmiah2169 2 года назад

    so beautiful discussion sir.......you are unique...reallllly.......salute from west bengal..

    • @YahooBaba
      @YahooBaba  2 года назад

      Thanks and welcome :)

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

    thank you bohot axxe se samaj aaa gaya

  • @AnejaAnmol
    @AnejaAnmol 2 года назад +4

    till now watching from begining now i know yahoo baba has 2 brothers from another mother Rahul Kumar & Karan Sharma ❤️😂ty for the playlist sir 🙌🙏

  • @team_fantasy672
    @team_fantasy672 2 месяца назад

    Great work my bro it's help lots
    Thnx. For your great content keep it up❤and thx. Also for adv.js topics

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 4 года назад +2

    Tremendous Tutorial Sir
    So grateful to YOU ❤

  • @alokkashyap3970
    @alokkashyap3970 3 месяца назад

    bahut accha bro.. keet it up

  • @Abhishek.Sharma1991
    @Abhishek.Sharma1991 2 года назад +3

    Great video
    Qs - Does Map() also accept array- index as the second parameter like forEach()?

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

      Yes, index and original array these are the optional parameter we can use with map function

  • @maazsiddiqui3326
    @maazsiddiqui3326 8 месяцев назад

    map method sy sirf calculations hee perform karwa sakty hyn ya kuch aur bhi?

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

    Nice explanation

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

    please a reactjs nextjs course you are the best of them all
    shout out from pakistan

  • @mdaasif5630
    @mdaasif5630 3 года назад +1

    Sir, when we use these things in our designing part ?

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

    Sets method ke bare main bhi thoda explain karo sir

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

    Sir agar koi string array to kya use map method se change kar sakte hai

    • @spidyniks
      @spidyniks 3 месяца назад

      We can get a new string array using map n we can modify each element of array

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

    thank you sir ❤

  • @hashirmughal5625
    @hashirmughal5625 2 года назад +1

    nice
    😀😀

  • @nehamehta1442
    @nehamehta1442 2 года назад

    Thank you so much sir 😍

  • @AmanGupta-tn5hz
    @AmanGupta-tn5hz 5 лет назад

    very nice tutorials sir

  • @usamakofficial7103
    @usamakofficial7103 2 года назад +1

    hi bro kindly make some projects using javascript

  • @NitinSharma-px7ez
    @NitinSharma-px7ez Месяц назад

    Sir please make more videos on react.js

  • @jitusahu1839
    @jitusahu1839 2 года назад

    Super explain

  • @shrutijog4802
    @shrutijog4802 5 лет назад +8

    Sir, forEach and map me kya difference hai wo samaj nahi aaya

    • @YahooBaba
      @YahooBaba  5 лет назад +24

      Shruti yha jo Map function hai wo humesha ek array return karta hai ..... actually ye hum ki existing array par lagate hai aur usmein kuch modification kar ke ek naya array bana lete hai.... Magar forEach hume array return nahi karta hai ...usko toh hum array ki values ko print karne ke liye use karte hai.

    • @mrankushtechnical
      @mrankushtechnical 3 года назад +1

      Haa Sahi hai..wo Kuch return Nahi krta..hai..

  • @iamdanyaal
    @iamdanyaal 3 года назад

    Thank You Sir

  • @deepcode1
    @deepcode1 3 года назад

    nice explaination

  • @abhayempire6436
    @abhayempire6436 3 года назад

    Thanks brother 🔥

  • @ujjwalshrivastava8253
    @ujjwalshrivastava8253 4 года назад +1

    yeh toh for loop se bhi ho jayega na sir

    • @YahooBaba
      @YahooBaba  4 года назад

      Yes but this is new method

  • @md.hasiburrahman7887
    @md.hasiburrahman7887 4 года назад

    you always hit the bullseye.
    Sir, please make videos on javaScript Algorithm and ES6.

  • @barbenderbb9358
    @barbenderbb9358 4 года назад

    Sir agr hmm ye for loop se print krva le to will it put a negative impact .. ??

    • @YahooBaba
      @YahooBaba  4 года назад

      Nahi koi negative impact nahi hoga.

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

    sir function bnana jaruri h kya.Without function map ka use nhi hota kya🤔

  • @akSingh_120
    @akSingh_120 10 месяцев назад

    nice

  • @mernhindicoder2139
    @mernhindicoder2139 2 года назад +1

    Sir please make on React.

  • @aliadnanasim4420
    @aliadnanasim4420 3 года назад

    thank man you save me

  • @AdnanKhan-yg4ng
    @AdnanKhan-yg4ng Год назад

    thank u

  • @usmanmughal5916
    @usmanmughal5916 4 года назад +2

    where did we define that x = index of the array? u just typed
    ` function test(x){
    return x.fname;
    } `

    • @YahooBaba
      @YahooBaba  4 года назад +7

      Dear we are using MAP() function which means it works like LOOP and this loop run for every value of array. Array itself contains 3 objects so our loop run for 3 time and every time it runs the "x" means whole object comes in variable "x" and to print any object value we first use object variable and then its index name after using "." period like this : x.fname

    • @awaismunir4964
      @awaismunir4964 3 года назад

      x is just type parameter passed where it should return to function

    • @lingarajhiroli965
      @lingarajhiroli965 2 года назад

      How did test function got executed without calling it

  • @khbipu2977
    @khbipu2977 4 года назад

    i think there is no need forEach loop because we can do the same function using map...right?

    • @YahooBaba
      @YahooBaba  4 года назад +3

      Yes u r right but map function don't work on old browsers

    • @khbipu2977
      @khbipu2977 4 года назад +1

      @@YahooBaba Ok...but nowadays all people using update browser like chrome.. Firefox etc

  • @SunnySunny-mh5do
    @SunnySunny-mh5do 8 месяцев назад

    I dont understand..
    how the value of array elements ie yahoo/rahul is getting into x, while we have not defined x anywhere.

  • @muhammadjawad7193
    @muhammadjawad7193 4 года назад

    AOA agr mnay 2 array mein sy same value nikal kr 1 new array bnani ho to kasay bnay gi?

  • @DrYouTube-ek2ib
    @DrYouTube-ek2ib 8 месяцев назад

    Sir is mn jab hn break tag lagata hn to next line pr comma ( , ) a raha hn

    • @banashreekar784
      @banashreekar784 День назад

      solved let ary1 = [1, 2, 4, 5, 10];
      let newAry = ary1.map(test);
      document.write(newAry.join(""))
      function test(x) {
      return x * 10;
      }

  • @muhammadihaideri3330
    @muhammadihaideri3330 2 месяца назад

    Sir flutter ka bhi tutorial bana do plz

  • @dhrumilpatel3988
    @dhrumilpatel3988 2 года назад +1

    sir Render data pai ek video create kkaro please

  • @babuj-i9g
    @babuj-i9g 11 месяцев назад

    bro jo bhi object me values hote hena is ko map kese karna he ???

  • @parteekchawla9810
    @parteekchawla9810 4 года назад

    Sir ese kr skte he
    Return ary*10;
    For multipication in existing array

    • @pcg4mer427
      @pcg4mer427 4 года назад

      kr skty hen . new const let ya var mai store krna hoga. sari values turn by turn 10 se multiply hojae g

  • @vignesh-l3i
    @vignesh-l3i Месяц назад

    object ka values , map ke dewara kese print karnahe . plz replay ji

  • @rohitsahni7462
    @rohitsahni7462 3 года назад

    Sir , functions inside functions par aapka konsa video hai .. please share link

    • @YahooBaba
      @YahooBaba  3 года назад

      Aisa koi video nahi hai.

    • @rohitsahni7462
      @rohitsahni7462 3 года назад

      @@YahooBaba sir functions inside function kaise work Karta hai.
      Sir aap video baana dijiye.

  • @noorb374
    @noorb374 2 года назад

    sir plz calender our calculator banana bi sikahye js ki madad sey ...

  • @SumitSingh-qx9oq
    @SumitSingh-qx9oq 3 года назад

    sir, agr ye conslole me print krna ho to kaise krenge ...plzzz

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

    I am well confused like how x get all the array value??

  • @cricketshorts6371
    @cricketshorts6371 9 месяцев назад +1

    Sir please tell me x object kaise hai

  • @gauravchetry0100
    @gauravchetry0100 2 года назад +1

    //map for simple array
    var arr = [1, 2, 3, 4, 5, 6];
    var arr1 = arr.map(function (a) {
    return a * 10;
    });
    console.log(arr1);
    var arr2 = arr1.map(test);
    function test(a) {
    return a - 5;
    }
    console.log(arr2);
    //map for objects inside an array
    var arrObj = [
    { fname: "Judas", lname: "sout" },
    { fname: "Walker", lname: "alen" },
    { fname: "Jonas", lname: "schmen" },
    ];
    var fname = arrObj.map(function (a) {
    console.log(a.fname + " " + a.lname);
    });

  • @55_karangupta51
    @55_karangupta51 3 года назад +1

    For it is more interesting bcz my name is Karan and in every program Karan exist 😂. Very near to complete this
    Sir plz guide after this I want to learn REACTJS wat is the main extra thing I want to learn for starting before REACTJS course

    • @YahooBaba
      @YahooBaba  3 года назад +5

      For ReactJS you have learn Javascript new version ES6 features and Javascript OOP.

  • @ashutoshpandeypoet7422
    @ashutoshpandeypoet7422 2 года назад

    Sir Please make react.js ,nodejs , express.jsand mongoDB tutorials

  • @mohammadbilal5745
    @mohammadbilal5745 3 года назад

    Please make the videos on Promise, Async Await, Call back.

  • @becool007
    @becool007 2 года назад +1

    pls chng the title yaar bcoz i was searching for Map() constructor and not map() method of array

  • @vinodp7508
    @vinodp7508 4 года назад

    Sir reduce method nahi mila playlist main

  • @twi4458
    @twi4458 3 года назад

    Ty sir

  • @vijaykumar-ic7hi
    @vijaykumar-ic7hi 2 года назад

    what is difference beween map and filter?

  • @Heartless0RD
    @Heartless0RD 5 месяцев назад

    👌👌👌👌

  • @anonymoususer7116
    @anonymoususer7116 3 года назад

    jadhi hamare pass array hai ush ki number length 12 hai ush array ko 3 parts mai divide krke osh ke andhr ke numbers ko addition krna hai every time to eisey kaise solve krey

    • @YahooBaba
      @YahooBaba  3 года назад

      Uske liye aapko nested loop use karna padega. Outer loop ko 3 time chalana padega aur inner loop ko bhi 3 time chalana pedega. Inner loop ke andar hum array ki values ka addition karenge.

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

    This q is asked in interview pls solve
    Input = [1,2,3,4,5,6,7,8,9,10];
    Output = [i=1,i=2,i=3];

  • @AnkitSingh-yw3gi
    @AnkitSingh-yw3gi 3 года назад

    sir yha par apne X kyu liya hai hum variable b m kyu print nhi kiya new array ko or apne khi define bhi nhi kiya ki x ek variable hai. plz solve this confusion.

    • @YahooBaba
      @YahooBaba  3 года назад +2

      Hello Ankit, Mujhe lagta hai aapko "Function with Parameters" ka concept nahi pata hai. Pehle aap yeh video dekhiye : ruclips.net/video/L1AtWLNpwuQ/видео.html

    • @AnkitSingh-yw3gi
      @AnkitSingh-yw3gi 3 года назад +1

      @@YahooBaba thanx sir. I understand.

  • @AliHaider-xh5qz
    @AliHaider-xh5qz 2 года назад

    let a=[2,4,6,8];
    let b=a.map((b)=>{
    return b*10;
    })
    document.write(b);
    its right

  • @worldpeace7264
    @worldpeace7264 4 года назад

    sir map function not work in my browser (chrome)

  • @FalcoAMV
    @FalcoAMV 6 месяцев назад +3

    2:44 kuch to garbar ha aapke text autofill me

    • @waqasawan81
      @waqasawan81 Месяц назад +1

      Hahahahaha ... bhai, please map function per focus kro.

  • @Ehtisham_Saleem
    @Ehtisham_Saleem 4 года назад

    Bhai Php k zarya password forget system bana dein jald sa jald please

  • @codeschool979
    @codeschool979 4 года назад

    sir maine map ki practice ki to map is not a function error dikha rha h

    • @YahooBaba
      @YahooBaba  4 года назад

      Kis browser pe check kar rahe ho aur uska version kaunsa hai ?

  • @mananmehta7363
    @mananmehta7363 4 года назад

    Should've left lname : "Baba" on Line 8 on 4:03 :D

  • @5dtechgujrat
    @5dtechgujrat 4 года назад

    ala

  • @osmanfayyaz8107
    @osmanfayyaz8107 3 года назад

    any react your tutorial ?

  • @Muhammadwaseemkha9003
    @Muhammadwaseemkha9003 3 года назад +1

    var a = [10,20,34,304,40];
    document.write(a + '');
    var b = a.map((b)=>{
    return b*10;
    });
    document.write(b);

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

    🙂

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

    Didn't understand where the x come from in test(x). It was never defined.
    ary.map(test);

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

      When we use map method we don't need to pass parameter separately when we are calling function within the map method.

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

    Sir is ke note to provide kr din

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

      Get it from our website : www.yahoobaba.net

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

    your to fast buddy

  • @MTTRex
    @MTTRex 3 года назад

    !!!!!!!!!!!""""""sir plese ans my question?:::: you show us so many thing most of the things is unecessary and many thing it's not possible to remember... Why you do this kind of thing's ??? parentElement no you also show us parentNode... Why so extra ??? I am so frusteded and angry""""""""

    • @YahooBaba
      @YahooBaba  3 года назад +1

      Dear when ever you go for interview then interviewer ask you a non important things. Thats why I teach all properties and methods of JS and PHP.

    • @MTTRex
      @MTTRex 3 года назад

      @@YahooBaba Thank you for your answer... I'll try to learn as much as I can.. But what If I just make a living but not go to interview? I know it's irrelevent me to add another questtion but it's on my mind. thaks again for answering the question

  • @keshavSingh-l2b
    @keshavSingh-l2b Год назад

    kuch samajh nahi ata kaise samjhate ho acche se bataya karo

  • @Sikarwar_the_beast.
    @Sikarwar_the_beast. Год назад

    I salute you legend ❤