Array Reduce Explained With Examples - JavaScript Tutorial
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- In today's video I'll be taking you through JavaScript's Array Reduce method with a few practical examples. Listen in 🙂
👇 JAVASCRIPT DOM CRASH COURSE:
www.udemy.com/...
For your reference, check this out:
developer.mozi...
🏫 My Udemy Courses - www.udemy.com/...
🎨 Download my VS Code theme - marketplace.vi...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript
Dom is the best at breaking down JavaScript, I've learnt a lot from him.
I love your tutorials. I think using single letters could confuse some of the newer learners. I know it saves time but typing out prev or curr instead of p and c might save some people some headache.
For me single letters is better:)
@@gergoviski5225 Unless you're a machine I doubt what you're saying.
0011001000110001@@gman8361
I’m a student of programming and I watched your video finally understand about how reduce work and use. Thanks so much ur break down and educating method was so good 🙏🏼thanks a lot
Thank you Dom, this tutorial is enough for me to make sense of array.reduce
Thank you. I easily understood the first example but going deeper was what I needed and helped me realize reduce is much more than a sum calculator.
Finally, Today everything started to make sense, I Even used reducer sometimes in my projects however i didn't really had the true understanding of it.
Finally I found a video that really explained how to use this reduce(). I had watched several others that I did not get at all. So big thank for this explanation!
I would not recommend using reduce for the last example, looping over the names. But would consider reduce to get the initials, this breaks when you have 3 names or just 1.
You have made my day. I have wrestled with this one since forever. It's as if someone finally switched the lights on. Thanks so much for this. That's a sub from me.
damn bro, it took me a while to learn but with you for just 5 min i could understand, damn, thx bro
This is the best one of all youtube reduce videos
Excellent video, best explanation o have come across. Really appreciate the detail you go into
No words. Lot many Thanks sir for your great explanation about JavaScript Array Reduce method. No one in the TH-cam explained this clear. I challenge to anyone.
Thanks a lot sir. Stay healthy and blessed
Here from Jonas Schemedtman JS on Udemy. I didnt understand well his explanation on reduce, but then discovered you!
Thanks, i understand array.reduce() better thanks to you. I have a question, when you return c.age in the if statement, does it mean that c.age becomes the previous value from the last function call and would be used as the p for the next if statement check?
Thank you Document Object Model
You deserve 1 000 000++ subscribes.
One of the best explanations about this method.
I'm happy to hear you found it helpful 😌
I like your explanation, thank you very much. I have learned many things which were really confusing for me before I found your videos
Thank you, very helpfull
very good explanation
Many Many Thanks
Thank you!
thank you, your videos are the best
You're welcome!
Thank you😊😊
Well you are amazing. and have best content . I find your explanation very satisfactory . Thank you providing such detailed contents.
Your explanation is very good
Thanks, Dom! What extension for VS Code shows you these detailed syntax hints?
thanks bro.. you explained things so well ..
Where can i find more exercise for practising reduce i need it eo much
Nicely done man. 🎉
Great content 👍
This is a great tutorial.
how to console.log oldest user name with age in second example?
Single letter variable names turn messy very quickly. Even for experienced programmers it takes longer to figure out what you are doing in more complex code.
Great tutorial bro!
Awesome video, thanks mate.
Good job... bravo!!!
Great explanation thanks!
I'm glad you found it helpful
What theme are you using in VS Code?
Never mind, I found it. dcode theme.
whats this return "DOM"
shouldn't it be Return part ?
Return dom means Return document object model ,you should have gone through basics of vanilla js first
another great video thanks!
You're welcome 😎👍
interesting!
1
You: "My name is Dumb"
Me: "🤔 Go on"
I want to know JavaScript supports OOP with classical inheritance. true?
find out elsewhere man
like like like
every freaking reduce exemple on youtube its the same... sum of some numbers..
watch the video till the end, it has some other examples
Thanks a lot!
Thank you ❤️