Map, Filter, Reduce - JavaScript Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025
  • In this video I will teach you guys how to use the higher order functions Map, Reduce and Filter in Javascript. This are probably the most important javascript array functions!
    -
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/l...
    Please leave a comment on what topic you guys want me to cover next!
    -
    📞 Tutoring Session: www.fiverr.com...
    💻 PedroTech Discord: / discord
    -
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Twitter: / pedrotech_
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/mac...
    Email: machadop1407@gmail.com
    Tags:
    MAP, FILTER, REDUCE
    Fetch
    ReactJS Tutorial
    ReactJS and MySQL
    NodeJS Tutorial
    API Tutorial

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

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

    At 15:12, Same thing can be done through map as well.
    let arr = [1, 2, 3, 4, 5];
    let newArr = arr.map((eachItem) => {
    return `Number: ${eachItem}`
    });
    console.log(newArr);

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

      this can also be done this way :
      let arr = [1, 2, 3, 4, 5];
      let newArr = arr.map(eachItem => eachItem);
      console.log("Number'+newArr);
      Good Luck.

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

    Good practice video keep creating videos like these, now I understand how to use these methods

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

    this explained to me what MDN couldnt. thanks

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

    You're such a good teacher

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

    I love u bro lol. I just started learning React and i needed this simple explanation. thanks again!

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

      Lmao thank you bro! I am glad I was able to help!

  • @VisionbyNoble
    @VisionbyNoble 4 หลายเดือนก่อน

    EXTREMELY VALUABLE INFORMATION

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

    Amazing video man!!! So clear and concise.

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

    This is a good video, I very look your teaching style. thank you so much

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

    Thank you for this truly!

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

    I needed this!

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

    So I have been trying to use these methods in the book "daily coding problems" and it is pretty rough getting started. If your up to it you could do coding exercises every once and a while.

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

      Map, filter and reduce are the most annoying things to learn for a beginner (my opinion). Good luck!

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

    Nicely explained!

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

    nice work! I made an indepth series on reduce just cause I love that method :D

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

      Awesome bro! I will check that out! I havent used reduce that often so I want to learn more about it!

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

      @@PedroTechnologies cool let me know what you think about it if you decide to watch it

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

    a great tutorial😍

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

    Sometimes whenever I go though your videos there some videos, I don't find, I only get them when TH-cam recommends them. Any ways they are always in time.

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

      That is odd hahaha I am trying to post a video on every possible topic so that whenever someone wants to learn something they can just search it on my channel!

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

      @@PedroTechnologies that would be great. It's like you have a lot on React almost everything, I can find most of what I want here.

  • @WillSmith-qt7me
    @WillSmith-qt7me 2 ปีที่แล้ว

    Great job

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

    thanks alot !! :D

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

    Map vs foreach

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

    awesome

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

    Pedro bruh how old are you? Please be a udemy teacher.