Map, Filter & Reduce in JavaScript | JavaScript Tutorial in Hindi #20

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Link to the Repl - replit.com/@co...
    Join Replit - join.replit.co...
    Download Notes - www.codewithha...
    Ultimate JS Course Playlist: • JavaScript Tutorials f...
    ►Checkout my English channel here: / @programmingwithharry
    ►Instagram: codewithharry
    python, C, C++, Java, JavaScript and Other Cheetsheets [++]:
    Playlist: • Coding CheatSheets 🧾 b...
    ►Learn in One Video[++]:
    Python[15 Hr] - • Python Tutorial For Be...
    Python Advance[3.5 Hr] - • Python Programming Cou...
    Python[1 Hr] - • Learn Python In Hindi ...
    Python[2 Hr] - • Python Tutorial In Hin...
    Python[15 Min] - • 15 Minute Python Tutor...
    JavaScript[1 Hr] - • JavaScript Tutorial
    C[1.3 Hr]- • C Programming Tutorial...
    php[1 Hr] - • Learn Php In One Video...
    php[2.3 Hr] - • Php Tutorial for Begin...
    php[Project]- • Login And Registration...
    HTML[30 Min] - • HTML 5 Tutorial For Be...
    CSS[8.5 Hr] - • CSS Tutorial In Hindi ...
    CSS[1.4 Hr] - • CSS 3 Tutorial For Beg...
    Wordpress[3.2 Hr] - • How To Make a WordPres...
    Angular[2 Hr] - • Angular Tutorial in Hindi
    Java[2.3 Hr] - • Java tutorial in hindi 🔥
    Web Scraping[1 Hr] - • Web Scraping Tutorial ...
    MongoDB[2 Hr] - • MongoDb Tutorial For B...
    Numpy[1 Hr] - • Numpy Tutorial in Hindi
    Android Dev[12 Hr]- • Android Development Tu...
    Linux[1 Hr] - • Linux Tutorial For Beg...
    JQuery[1.1 Hr] - • jQuery Tutorial For Be...
    Git and GitHub[1.1 Hr] - • Git & GitHub Tutorial ...
    ►Complete course [playlist]:
    React - • React Js Tutorials in ...
    Python- • Python Tutorials For A...
    OOP Python- • Object Oriented Progra...
    Java - • Java Tutorials For Beg...
    JavaScript- • JavaScript Tutorials I...
    PHP- • PHP Tutorials in Hindi
    C- • C Language Tutorials I...
    C++- • C++ Tutorials In Hindi
    Git & GitHub- • Git and GitHub Tutoria...
    Android Dev- • Android Development Tu...
    Python GUI- • Python GUI: Tkinter Tu...
    Web Development- • Web Development Tutori...
    Python Django - • Python Django Tutorial...
    Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
    Data Structure and Algo - • Data Structures and Al...
    Follow Me On Social Media
    ►Website (created using Django Rest & Angular) - www.codewithha...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    Twitter - / codewithharry
    Comment "#HarryBhai" if you read this 😉😉

ความคิดเห็น • 491

  • @CodeWithHarry
    @CodeWithHarry  2 ปีที่แล้ว +74

    On your request, I have revamped the channel membership and added more levels.
    Click the join button to check out more - th-cam.com/channels/eVMnSShP_Iviwkknt83cww.htmljoin

    • @vjy78
      @vjy78 2 ปีที่แล้ว +2

      literally your comment has 0 likes 1st one is mine ignore man

    • @sharebazarindranil
      @sharebazarindranil ปีที่แล้ว

      C1 karle nay vale kaise ate

    • @shreyashreeguha1074
      @shreyashreeguha1074 ปีที่แล้ว

      harry bhaiya mujhe pls ye baatiyen ki sifr front end developement ke liye kitna basic javascript padna chahiye?

    • @AishaSenapati
      @AishaSenapati ปีที่แล้ว +1

      @@shreyashreeguha1074 puri knowledge hona zaruri hai, i am a frontend developer too

    • @aashisrivastava6014
      @aashisrivastava6014 ปีที่แล้ว

      @CodeWithHarry can you please suggest book for javascript

  • @siddhantkumar6801
    @siddhantkumar6801 2 ปีที่แล้ว +408

    Congrats everyone on your 20th video of js keep learning!!👍👍😁😁

    • @atirrasheedhashmi
      @atirrasheedhashmi 2 ปีที่แล้ว +17

      Chl thank you yr, pta to chla ki 20th video pr hain 🤓😅😂

    • @siddhantkumar6801
      @siddhantkumar6801 2 ปีที่แล้ว +2

      @@atirrasheedhashmi lol🤣🤣👍👍

    • @SidsAnalysis
      @SidsAnalysis 2 ปีที่แล้ว +6

      🤡🤡Mai bhi Hoon
      Aapko follow karte karte idhar tak aa gya

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

    • @zaid-zi6qy
      @zaid-zi6qy 2 ปีที่แล้ว +6

      i hope koi purana nhi bhulta huva a rha hai

  • @TechTop3
    @TechTop3 ปีที่แล้ว +124

    Imagine you have a bunch of toys in a basket, and you want to do different things with them:
    1. Map: Imagine you want to paint each toy in the basket with a bright color. To do this, you would take one toy at a time, paint it, and put it back in the basket. Map works similarly. It takes a function and applies it to each toy in the basket, creating a new basket with the transformed toys. So, map transforms each toy without changing their order or number.
    2. Filter: Now, let's say you only want to keep the toys that are soft. You would go through each toy, feel its texture, and keep only the soft ones in the basket. Filter works in a similar way. It takes a function that checks a condition and applies it to each toy. It creates a new basket containing only the toys that satisfy the condition. So, filter helps you select and keep only specific toys based on a condition.
    3. Reduce: Finally, imagine you want to find the total number of toys in the basket. You would count one toy at a time, adding the count to a running total. Reduce does something similar. It takes a function that combines two toys and reduces the collection to a single value. In our case, it would add the count of each toy to a running total until there are no more toys left. So, reduce helps you aggregate or combine values into a single result.
    I hope this simplified explanation helps you understand the concepts of map, filter, and reduce!

    • @doipayanchakravarty623
      @doipayanchakravarty623 ปีที่แล้ว +12

      bro, am telling u ...become a cs teacher

    • @satishchaudhari1255
      @satishchaudhari1255 ปีที่แล้ว +5

      Amazing work

    • @dhruvraj9548
      @dhruvraj9548 ปีที่แล้ว +9

      credit goes to artificial intelligence

    • @consolementary
      @consolementary ปีที่แล้ว +6

      hehehe thats nice to get help from chat GPT.

    • @NO_N500
      @NO_N500 8 หลายเดือนก่อน +1

      ​@@dhruvraj9548😂😂

  • @stockbox4215
    @stockbox4215 2 ปีที่แล้ว +12

    Bhai mere pass laptop nhi h fir v
    Python , html ,css , C sikha hoon haryy Bhai se phone se code krke online compilers and interpreters ke through.
    Or avi replit se krte h coding iss JS course ko.
    Thank you Harry bhai.🤟✨

    • @fightforfitness2256
      @fightforfitness2256 3 หลายเดือนก่อน

      kya karte ho life me abhi?

    • @Drevex88
      @Drevex88 3 หลายเดือนก่อน

      @@fightforfitness2256 zinda hai

  • @CodeWithHarry
    @CodeWithHarry  ปีที่แล้ว +18

    Code Backup Repository: github.com/CodeWithHarry/ultimate-js-course-youtube

    • @bhaskarartwork5762
      @bhaskarartwork5762 ปีที่แล้ว

      Excuse me sir ! Ye problem samaj main nehi aa raha 🙏🏻🥺..
      7:6 yaha pe function name a ko kese pata ki a array ka values le raha hain ( array ka naam to alag hain na == arr

    • @m.sikandar5209
      @m.sikandar5209 ปีที่แล้ว

      @@bhaskarartwork5762 Bcz 7:06 py a2 ko arr2(array) KY equal kiya aur usmy (a) likha tou ab wo as (a) use ho rhi hai "array"...isliya wo array ki values Lai Raha..

  • @aritora778
    @aritora778 2 ปีที่แล้ว +20

    These series are extremely helpful. I have a small request for you. After finishing this tutorial please make a full tutorial on the integration of React app inside WordPress. Thank you so much.

  • @mzohaib27
    @mzohaib27 ปีที่แล้ว +1

    perfect explanation Harry bhai....map ko main pahaaar smjh raha tha ....ap ny to aisy explain kr k
    smjhaya jesy koi makhi urra di ho.....❤❤...Thank you so much brother

  • @abhaysaxena9403
    @abhaysaxena9403 ปีที่แล้ว +6

    @codewithharry; bhai apki puri series nhi dekhi but jis jis topic me doubt hai vo dekha, sachme eakdum clear ho gya. The amount of hardware you put while creating this and explaining is commendable and should be appreciated. Thankyou!

  • @akashpatil9865
    @akashpatil9865 ปีที่แล้ว +4

    3:28 we can perform operation in return like we perform operation in forEach loop. the difference is that here we create a new array right?

  • @maazdev9000
    @maazdev9000 ปีที่แล้ว +11

    A little bit of Motivation from my side :
    Got infected by Denguee , couldn't code for 2 months and now after 1 month practice , i am back where i left , i watched your html video did html project , watched your css video did the project and now i'm back where i left (Nov 19 to Dec 16) and now i will end this playlist as well

  • @sakshamgupta2598
    @sakshamgupta2598 10 หลายเดือนก่อน +1

    Done ! keep on practicing guys good luck

  • @tanishqarjun8302
    @tanishqarjun8302 ปีที่แล้ว +5

    Thanks brother. You are just amazing. You can just start with any video without prior knowledge and still get your doubt clear. Again thanks man 👍💯

  • @Wagnor.1
    @Wagnor.1 2 ปีที่แล้ว +5

    Sir we are beginner
    So explain every small please 🙏
    Bit I like your teaching skills ❤️

  • @consolementary
    @consolementary ปีที่แล้ว +4

    Hi Harry, I am Jawad Azeemi from Pakistan; just started learning from you instead of my instructor because he is worthy to teach but at the same time, you too worthy because you run with new values added day by day in JS. Thanks.
    // let luther = [45, 87, 4, 65]
    // luther.map((value)=>{ // value ke jagha kuch be likh sakte ho aap log
    // console.log(value)// jo value ya kuch ooper likha ha , wahi idher be likhna ha
    // })
    let luther = [45, 87, 4, 65]
    // ab ham thora change kerte han ooper walay ko
    let flower =luther.map((value)=>{
    return value + 2
    // console.log(value)
    })
    console.log(flower)
    /* now ma chahta hoo ke ye 2 sirf aur sirf add ho
    index 2 ka sath jo ke array ma 4 ha*/
    let luther1 = [45, 87, 4, 65];
    let flower1 = luther1.map((value, index) => {
    if (index === 2) {
    return value + 2; // Adds 2 only to the element at index 2.
    } else {
    return value; // For other elements, keep the same value.
    }
    });
    console.log(flower1); // Output: [45, 87, 6, 65]

  • @animeshanandcool
    @animeshanandcool 10 หลายเดือนก่อน

    In reduce we can paas initail summation ..like here i am passing -1 .
    let num=[1,2,3]
    let sum = num.reduce((prev, curr, index, array) => {
    return prev + curr;
    }, -1)
    Guess the output.

  • @itsunknown7943
    @itsunknown7943 2 ปีที่แล้ว +2

    Thank you harish sir you are such a great teacher love you sir ❤️❤️❤️❤️
    I am watching your old video for learning I am BCA student of secend year starting

  • @tayyaburrehman5695
    @tayyaburrehman5695 2 ปีที่แล้ว +5

    This course is very helpful 👍🏻 keep posting videos thank you

  • @dipeshdummy
    @dipeshdummy 8 หลายเดือนก่อน +2

    guys, do like share subscribe and everything you can do without been demanded by Harry himself. Doing such a great work !! He deserves this.

  • @akshaydalvi4201
    @akshaydalvi4201 5 วันที่ผ่านมา

    @CodeWithHarry
    // Reduce() returns single value from array and used to perform operation on the elements of called array like here we are multiplying elements from the called array and returning the output.
    // If we provide three argument to the reduce() then the 1st and 2nd arguments will be elements of the array and 3rd argument will be the index of 2nd element in the operation.
    let arr3 = [1, 5, 6, 4, 3, 2];
    let a3 = arr3.reduce((d1,d2)=> {
    return d1*d2;
    });
    let a4 = arr3.reduce((d1,d2,d3)=>{
    return d1*d2*d3;
    })
    console.log(a3);
    console.log(a4);

  • @AmitKumar-xx7zj
    @AmitKumar-xx7zj ปีที่แล้ว

    the way you explain, you make everything so easy to understand.

  • @nayabsuleman2302
    @nayabsuleman2302 2 ปีที่แล้ว +1

    Thank You Harry Bhai I searched map,filter,reduce but I couldn't understand I was just waiting for your next video.Higer Order Function, Really Helpful Course
    Thanks Alot.

  • @PrinceSoniOFFICIAL
    @PrinceSoniOFFICIAL ปีที่แล้ว +1

    Love u bro 😂❤❤ whenever i see you i feel relaxed but kbhi kbhi apki speed ke barabar ane me time lag jata hai lekin kam mt krna yahi sahi hai speed revision ke liy best h

  • @yogesh7931
    @yogesh7931 2 ปีที่แล้ว +67

    QUICK NOTE FROM VIDEO :
    TIMESTAMP : 00:00
    QUESTION : What is Higher Order Methods / function.
    ANSWER : A “Higher Order Method / Function” is a function that accepts functions as parameters and/or returns a function.
    That's Why Map, filter and reduce is called Higher Order Methods.

    • @futurexa
      @futurexa 2 ปีที่แล้ว +1

      thank you!

    • @yogesh7931
      @yogesh7931 2 ปีที่แล้ว

      @@futurexa Welcome.

    • @shaikafrid
      @shaikafrid ปีที่แล้ว

      Thanku 👍

    • @kbhindia
      @kbhindia ปีที่แล้ว

      thanks man

  • @faisalfai2466
    @faisalfai2466 2 หลายเดือนก่อน

    Filter function me agar humein practically dekhna hai k changes existing array me ho rahi hain to ap ye code run kar k dekh sakty hain. let k sath nhi ho sakta check.
    var arr2 = [ 2,3,5,10,15,20]
    var arr2 = arr2.filter((a)=>{
    return a

    • @computer2746
      @computer2746 29 วันที่ผ่านมา

      bubu to bahi balak hai

  • @rakeshsharmanv821
    @rakeshsharmanv821 2 ปีที่แล้ว +1

    let rating =[1,2,6,1]
    let a=rating. reduce((r1,r2)=>{
    return r1+r2
    })
    console.log(a);

  • @victorb22622
    @victorb22622 6 หลายเดือนก่อน +1

    11:13 simple sum function se bhi ho jayega

  • @Akash-sh3on
    @Akash-sh3on 2 ปีที่แล้ว +2

    c programing playlist or 15hr c programing video which one should i prefer??

  • @yogeshdharya3857
    @yogeshdharya3857 2 ปีที่แล้ว

    12:10 bahut bada concept lugta tha map , filter , reduce ; bahut advance concept lugta tha in fact intimidating bhi lugta tha mujhey toh lekin such bataun harry bhai , aap ki video dekhne k baad samjh mei ayaa ki ye kya choti si cheez se durr ruha tha mei . Thank u so much complicated ko simple bananey k liye ! Happy Diwali !🪔

  • @shivamtiwari4293
    @shivamtiwari4293 2 ปีที่แล้ว +2

    Knowledgeable👍👍👍 Thanks for making this JavaScript course🙏🙏🙏

  • @ArshadKhanCS
    @ArshadKhanCS ปีที่แล้ว

    Aisa samjhaya ki simple lagne laga . . . . shukriya

  • @shaikh8958
    @shaikh8958 2 ปีที่แล้ว +3

    Harry bhaiya thanks🥺❤️😊

  • @Thakur_9993
    @Thakur_9993 2 ปีที่แล้ว

    Hi Sir , This Aakash Thakur i saw all python video that very useful for me and others that tutorial is enough to face interview including their projects

  • @nishnathdeveloper445
    @nishnathdeveloper445 4 หลายเดือนก่อน +2

    00:02 Learn about Map, Filter, and Reduce
    01:50 Exploring the differences between map and forEach in JavaScript
    03:23 Map creates a new array and foreach iterates over and does something for each array element.
    04:49 Use map method to create a new array with values from original array
    06:21 The filter function in JavaScript filters an array based on a given condition.
    07:53 The reduce method in JavaScript
    09:26 The reduce function takes the first and second values and runs the same function with the result
    11:05 Map, Filter, Reduce is a modern concept
    Crafted by Merlin AI.

  • @AnujKumar-ww3op
    @AnujKumar-ww3op ปีที่แล้ว

    Koi nhi sirji...bahut shi bnayeho aap video

  • @owaisasgherali6978
    @owaisasgherali6978 2 ปีที่แล้ว +4

    Lots of love from Pakistan #codewithharry according to mine you are one of the massive gem on this era♥️♥️♥️♥️

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

  • @vaibhavverma3399
    @vaibhavverma3399 ปีที่แล้ว +1

    7:19 if you do the same operation with map it would return a boolean array.

  • @bollyvines2595
    @bollyvines2595 2 ปีที่แล้ว

    harry sir gajab dha rahey hai....humarey liye aap coding daaata hai....kirpya aapke charan dikhaye.........

  • @priyanshutyagi_02001
    @priyanshutyagi_02001 8 หลายเดือนก่อน +1

    Thankyou harry bhai❤

  • @nandkishor4760
    @nandkishor4760 2 ปีที่แล้ว +2

    Very helpful video Maja aa gya Bhai 🔥🔥🔥👍

  • @khusheedabhi3434
    @khusheedabhi3434 7 หลายเดือนก่อน

    Thank you for such as simple yet clear explanation

  • @vimalkumarchaudhary1913
    @vimalkumarchaudhary1913 2 ปีที่แล้ว

    Aaj maine three chiz sikha map,filter,reduce very happy

  • @shreyas.sihasane
    @shreyas.sihasane 2 ปีที่แล้ว +1

    Bro aur kitne videos baki hai JS ke? I love your vidoes and content

  • @A__MAHAMUDULHASANAbid
    @A__MAHAMUDULHASANAbid 8 หลายเดือนก่อน +1

    confusion clear...

  • @legendarygaming8180
    @legendarygaming8180 7 หลายเดือนก่อน +2

    nice explain

  • @koustavghosh2931
    @koustavghosh2931 ปีที่แล้ว +1

    I get job on mnc by help of your video's but still here for learning more

    • @helloworld-n1z
      @helloworld-n1z ปีที่แล้ว

      really, how much did u take time nd u learned all the concepts

  • @SahilAli-rn3pe
    @SahilAli-rn3pe 9 หลายเดือนก่อน

    sir u are great and ur teaching method is unique

  • @puneetyadav65
    @puneetyadav65 9 หลายเดือนก่อน

    @CodeWithHarry let a2=arr2.filter(a=>a>5)

  • @OsamaHussain239
    @OsamaHussain239 2 ปีที่แล้ว

    @CodeWithHarry Sir mai 12th class me hu science background se humko coding ke bare me kuch nhe pata hai kuch nhe ka matalab kuch nhe ek dum zero to kaise coding sikhna start kren please suggest me sir i am waiting for your reply ⏰⏰

  • @nikunjnaik4590
    @nikunjnaik4590 ปีที่แล้ว

    10:47 sir basically the function adds all the elements of an array... correct me if I am wrong

  • @neerajsuhanda4696
    @neerajsuhanda4696 ปีที่แล้ว +6

    Can you tell the common difference between map,filter and reduce??

    • @sanamukhtar4008
      @sanamukhtar4008 ปีที่แล้ว +1

      We can perform any operations on array without affecting their original value

  • @tensorcodes
    @tensorcodes 2 ปีที่แล้ว

    Harry bhai thode jaldi jaldi video banao me nextjs ka course bhi follow kar rha hu... JavaScript strong chahiye

  • @afaqahmad8918
    @afaqahmad8918 ปีที่แล้ว

    harry nhai this course is full for becoming a perfect developer???

  • @pallabdandapat1866
    @pallabdandapat1866 ปีที่แล้ว +1

    Harry vai , I'm not getting clearity about how the parameter is working , how it recognizing whatever i need values or index or consicutive values?

  • @amitband9685
    @amitband9685 ปีที่แล้ว

    Inshort Map and filter will give an array and reduce gives a single value array.

  • @DIVYAPUNUGU
    @DIVYAPUNUGU 8 หลายเดือนก่อน +1

    Thank you so much sir

  • @sia...3965
    @sia...3965 ปีที่แล้ว

    6:53 kya yaha par ham while method ke through ek condition prepare kar sakte hai?

  • @TechGames597
    @TechGames597 2 ปีที่แล้ว

    Harry bhi ugar ap ko "software enginer ,Data enginer or Etical hacking" ma sa ksi field ma jana hota to ap ks field ma jata?
    or ma kon si choose kro? plzzz bta dana

  • @prajaktaawale7565
    @prajaktaawale7565 ปีที่แล้ว

    I appreciate covering all functions in a single video, I love your videos too, But I think for reduce method you could have stated the arguments list.

  • @Rjsd5022
    @Rjsd5022 ปีที่แล้ว

    10:04 -- reduce() is like the fibonacci series..

  • @renishsalakhana5603
    @renishsalakhana5603 ปีที่แล้ว +2

    Sorry please elaborate more on reduce and the differences between map and foreach. I can't get enough with this tutorial.

    • @ashutoshrai2717
      @ashutoshrai2717 ปีที่แล้ว +2

      Simple map function always return and for each does not return anything

    • @renishsalakhana5603
      @renishsalakhana5603 ปีที่แล้ว

      @@ashutoshrai2717 Thank you now I understand how things work.

  • @VikasKumar00125
    @VikasKumar00125 2 ปีที่แล้ว +3

    Hello sir
    I have a question for you
    Question:- Can we use flex box and CSS grid
    If ans is yes
    Then sir :- plz make one project using css grid and flex box using together

  • @aniketgaikwad2480
    @aniketgaikwad2480 27 วันที่ผ่านมา

    reduce function ke arguments array ke he starting ke 2 elements hote hai kya

  • @ALIHDFacts8610
    @ALIHDFacts8610 ปีที่แล้ว

    Best channel on youtube thanks

  • @spdh6325
    @spdh6325 ปีที่แล้ว

    I love You bhai tum nahi hote to coding sikhne ka maja hi nahi ata. dil se sukriya

  • @_AshishJaiswal
    @_AshishJaiswal 2 ปีที่แล้ว +1

    please zoom the notes then show so that it could be more visible

  • @shailenderjaiswal1685
    @shailenderjaiswal1685 2 ปีที่แล้ว +4

    Harry brother please make videos on DSA with javascript parallely I know it will be very tough to make but I really want and it will also help others 🙏

    • @pratikgharge4945
      @pratikgharge4945 2 ปีที่แล้ว

      Follow code step by step channel for dsa in js

    • @crescent4033
      @crescent4033 2 ปีที่แล้ว

      go to code help channel for DSA and do code in JS...!

  • @shubhamchaubey9450
    @shubhamchaubey9450 2 ปีที่แล้ว

    Hello Harry....mai aapne web development ke course se html css javascript kr rha hu udhar jo javascript hai vo kr liya toh ye vala javascript Krna nhi padega na udhar se bhi ho jayga aache se ????

  • @imadsdiary
    @imadsdiary 2 ปีที่แล้ว +2

    Love Your content harry bhai op I love the way you explain really good

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

  • @SunehraTabassum-sx2dh
    @SunehraTabassum-sx2dh หลายเดือนก่อน

    Thank you for explantion!

  • @pragyas_direction
    @pragyas_direction 2 หลายเดือนก่อน +1

    Bhai, same same methods python me bhi practice krk aa rhi hu...or ab abb mess ho gya he 😂

  • @Rahuldudi1349
    @Rahuldudi1349 ปีที่แล้ว

    Reduce method is veryy usefull actually

  • @vishalagarwal1971
    @vishalagarwal1971 2 ปีที่แล้ว +2

    Hey Harry, You did a great job. And "Thanks" is very small word for all of your efforts. I believe "God Bless You" will be more apprepreate for your cpntinous endless efforts.

  • @YT-qo6rt
    @YT-qo6rt 2 ปีที่แล้ว

    Sahi he hai Harry bhai, pls cover all methods it help to learn and remember..

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

  • @preetibharti2803
    @preetibharti2803 8 ชั่วโมงที่ผ่านมา

    Thanks for notes ,

  • @TanveerHussain-wh7pl
    @TanveerHussain-wh7pl 2 ปีที่แล้ว

    Harry bhai tusi Great Oo...

  • @dark-knightCoder
    @dark-knightCoder 2 ปีที่แล้ว

    Harry bhai you are my codding inspiration

    ❣❣❣❣❣❣❣

  • @dxdelvin
    @dxdelvin 2 ปีที่แล้ว

    Journey Till 20th Video was Fantastic! Need Mini Projects tho!

  • @fatimaiqra2169
    @fatimaiqra2169 8 หลายเดือนก่อน +1

    thanks

  • @saurabhchaurasia2262
    @saurabhchaurasia2262 5 หลายเดือนก่อน

    love your explanation.Thank you!

  • @vishk9765
    @vishk9765 2 ปีที่แล้ว +2

    Please continue js course in Programmingwithharry channel

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

  • @awaisrajput9921
    @awaisrajput9921 2 ปีที่แล้ว

    So well Explained Haider ali khan my 5th True love 😍😍

  • @mayukhdevansahu5707
    @mayukhdevansahu5707 2 ปีที่แล้ว

    Harry bhai, what else can we do with reduce?

  • @shubhamchaudhary9468
    @shubhamchaudhary9468 2 ปีที่แล้ว +1

    I somewhere read that "map does not mutate the array on which it is called", but in the following code map was able to mutate the array. Can you please tell Harry bhai that what is going on here , both forEach and map functions are doing the same thing here ?
    const array = [1, 2, 3, 4, 5];
    array.forEach((value, i, arr) => (arr[i] = value * 2));
    console.log(array);
    array.map((value, i, arr) => (arr[i] = value * 2));
    console.log(array);

    • @yusraali7899
      @yusraali7899 2 ปีที่แล้ว +1

      Map is used when we want to create a new array and for each is used to perform operation on the existing array and to make change in that array only

  • @Ghulammustafa-wg6cy
    @Ghulammustafa-wg6cy 2 ปีที่แล้ว +1

    thank you sir this course is very helpfull

  • @RahulKumar-wg6mr
    @RahulKumar-wg6mr ปีที่แล้ว

    Thank you so much bhaiya for this beautiful course

  • @mudassirsaeed337
    @mudassirsaeed337 2 ปีที่แล้ว

    Haris bhai P vs NP problems kya hai..?
    Kya aap mujhe P vs NP problems ke baare mein kuchh bata sakte ho..?

  • @humerasad
    @humerasad 2 ปีที่แล้ว

    Sir ek question hai, yeh sb arry k method smj a gy hai but real project use krny me problem ati h smj ni ati konsa aur kaisy use kron eska koi solution? 🤔

  • @princemirza2973
    @princemirza2973 ปีที่แล้ว

    Sir mere pe Map loop me jo condition k baat apne return value +1 ki thi and array par value 1 increase ho gyi thi , but mere pe increase ni ho ri

  • @Jai_Shree_Ram____469
    @Jai_Shree_Ram____469 2 ปีที่แล้ว +1

    Best tutorials ever of java script ❤️❤️❤️

  • @arjunrathore12
    @arjunrathore12 2 ปีที่แล้ว

    sir this JS course are completely full course for placement or only basics for understanding.

    • @LetsCodeWithKashif
      @LetsCodeWithKashif 2 ปีที่แล้ว

      I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys
      Thank you so much in advance :)

  • @parmeshwarkanhere4579
    @parmeshwarkanhere4579 2 ปีที่แล้ว +1

    Hii sir I want full information about red hat complete course so please make video on that topic 😊 please sir 😔.

  • @the_shuvo_sarkar
    @the_shuvo_sarkar 2 หลายเดือนก่อน

    Thanks bhai. Aap apki khudki company kab khul rahe ho? Usme mujhe ek job dilado. Main Bangladesh se hu aur Web Dev sikh rah hu in 30 years of age! Wish me luck.

  • @gauraviagrawal2788
    @gauraviagrawal2788 2 ปีที่แล้ว

    Hey Harry! Please make a video on a career change from sales to tech

  • @AliRazaRizvi007
    @AliRazaRizvi007 ปีที่แล้ว

    Teacher of the Year
    Love From Pakistan

  • @Singh_DhaliwalVlogs
    @Singh_DhaliwalVlogs 2 ปีที่แล้ว

    harry bhai aap hamare god ho bhai koi chakkar to nahi agar ham aap ki videos download krke smabhal ke rakh le

  • @slingshottherapper5937
    @slingshottherapper5937 ปีที่แล้ว

    #Doubt regarding array.
    1.How did this happen what does this mean? Can you please explain.
    let arr = [1,2,3];
    arr[-1] = 7;
    console.log(arr);
    console.log(arr[-1]);
    Output :
    [ 1, 2, 3, '-1': 7 ]
    7
    2. Can you please explain reduce function with some unsual possibilities? How did these Output came can you please explain.
    a. How??
    let arr = [1,2,3];
    console.log(arr.reduce((h1)=>{
    return h1+h1;
    }))
    Output:
    4
    b.How??
    let arr = [1,2,3];
    console.log(arr.reduce((h1,h2,h3)=>{
    return h1+h2+h3;
    }))
    Output:
    9

    • @DemystifyFrontend
      @DemystifyFrontend ปีที่แล้ว

      Doubt 1 - Since the array is also treated as an object in javascript and keeps array values on number indexes like { 0: 1, 1: 2, 2: 3} but when it shows the array, it shows values from index 0 to n only not on any random indexes and you can access value through keys in case its negative or any string key

    • @DemystifyFrontend
      @DemystifyFrontend ปีที่แล้ว

      Doubt2 - reduce starts iteration from second array element and pass arr[0] as accumulator value(h1) so on the first iteration new accumulator returned will be 1 + 1 = 2 and it moves to second iteration with h1 as 2 and return new accumulator value as 2 + 2 = 4

  • @brainbite6101
    @brainbite6101 ปีที่แล้ว

    NICE PLAYLIST TILL NOW...

  • @nitintyagi1451
    @nitintyagi1451 ปีที่แล้ว

    bro typescript pr bhi series bnado ek with angular.

  • @shwetachekare543
    @shwetachekare543 ปีที่แล้ว

    Please upload node js complete course as well in that pléase teach how to create rest api and file upload and file download

  • @SMY22
    @SMY22 2 ปีที่แล้ว +1

    HARRY bhai roj video dalo pls🙏