Array Reduce Explained With Examples - JavaScript Tutorial
Vložit
- čas přidán 15. 05. 2022
- 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/course/the-ulti...
For your reference, check this out:
developer.mozilla.org/en-US/d...
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 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.
No words. Lot many Thanks sir for your great explanation about JavaScript Array Reduce method. No one in the CZcams explained this clear. I challenge to anyone.
Thanks a lot sir. Stay healthy and blessed
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
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.
Excellent video, best explanation o have come across. Really appreciate the detail you go into
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 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!
This is the best one of all youtube reduce videos
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.
damn bro, it took me a while to learn but with you for just 5 min i could understand, damn, thx bro
Here from Jonas Schemedtman JS on Udemy. I didnt understand well his explanation on reduce, but then discovered you!
Thank you Dom, this tutorial is enough for me to make sense of array.reduce
I like your explanation, thank you very much. I have learned many things which were really confusing for me before I found your videos
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
Awesome video, thanks mate.
thanks bro.. you explained things so well ..
Nicely done man. 🎉
Good job... bravo!!!
Great tutorial bro!
Great content 👍
You deserve 1 000 000++ subscribes.
Thank you, very helpfull
This is a great tutorial.
Your explanation is very good
Well you are amazing. and have best content . I find your explanation very satisfactory . Thank you providing such detailed contents.
Thank you Document Object Model
Thank you!
very good explanation
Thank you ❤️
Many Many Thanks
Thank you😊😊
One of the best explanations about this method.
I'm happy to hear you found it helpful 😌
thank you, your videos are the best
You're welcome!
Thanks, Dom! What extension for VS Code shows you these detailed syntax hints?
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?
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.
another great video thanks!
You're welcome 😎👍
Great explanation thanks!
I'm glad you found it helpful
interesting!
Where can i find more exercise for practising reduce i need it eo much
how to console.log oldest user name with age in second example?
You: "My name is Dumb"
Me: "🤔 Go on"
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.
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
1
like like like
I want to know JavaScript supports OOP with classical inheritance. true?
find out elsewhere man
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!