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
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);
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.
Good practice video keep creating videos like these, now I understand how to use these methods
this explained to me what MDN couldnt. thanks
You're such a good teacher
I love u bro lol. I just started learning React and i needed this simple explanation. thanks again!
Lmao thank you bro! I am glad I was able to help!
EXTREMELY VALUABLE INFORMATION
Amazing video man!!! So clear and concise.
This is a good video, I very look your teaching style. thank you so much
Thank you for this truly!
I needed this!
Glad you liked it!
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.
Map, filter and reduce are the most annoying things to learn for a beginner (my opinion). Good luck!
Nicely explained!
nice work! I made an indepth series on reduce just cause I love that method :D
Awesome bro! I will check that out! I havent used reduce that often so I want to learn more about it!
@@PedroTechnologies cool let me know what you think about it if you decide to watch it
a great tutorial😍
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.
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!
@@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.
Great job
thanks alot !! :D
Map vs foreach
awesome
Thank you!
Pedro bruh how old are you? Please be a udemy teacher.