Array Reduce Explained With Examples - JavaScript Tutorial

  Рет қаралды 30,796

dcode

dcode

Күн бұрын

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

Пікірлер: 62
@francodosha
@francodosha 2 жыл бұрын
Dom is the best at breaking down JavaScript, I've learnt a lot from him.
@kennethdouglasslai4833
@kennethdouglasslai4833 Жыл бұрын
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
@SomeshNukala
@SomeshNukala 6 ай бұрын
This is the best one of all youtube reduce videos
@ahmadnku8336
@ahmadnku8336 Жыл бұрын
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.
@Lina-tq8sb
@Lina-tq8sb Жыл бұрын
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.
@alicefraser5799
@alicefraser5799 Жыл бұрын
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.
@SergyVA
@SergyVA 2 жыл бұрын
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!
@danielamirul6430
@danielamirul6430 Жыл бұрын
Here from Jonas Schemedtman JS on Udemy. I didnt understand well his explanation on reduce, but then discovered you!
@SomeshNukala
@SomeshNukala 6 ай бұрын
No words. Lot many Thanks sir for your great explanation about JavaScript Array Reduce method. No one in the KZbin explained this clear. I challenge to anyone. Thanks a lot sir. Stay healthy and blessed
@troiks
@troiks 6 ай бұрын
Excellent video, best explanation o have come across. Really appreciate the detail you go into
@davoodaslani3882
@davoodaslani3882 Жыл бұрын
One of the best explanations about this method.
@dcode-software
@dcode-software Жыл бұрын
I'm happy to hear you found it helpful 😌
@abubalo
@abubalo 2 жыл бұрын
Thank you Dom, this tutorial is enough for me to make sense of array.reduce
@motivacao-fire
@motivacao-fire 6 ай бұрын
damn bro, it took me a while to learn but with you for just 5 min i could understand, damn, thx bro
@timemmanson8350
@timemmanson8350 11 ай бұрын
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?
@heyitsmattox6509
@heyitsmattox6509 Жыл бұрын
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.
@gergoviski5225
@gergoviski5225 Жыл бұрын
For me single letters is better:)
@gman8361
@gman8361 10 ай бұрын
​@@gergoviski5225 Unless you're a machine I doubt what you're saying.
@gergoviski5225
@gergoviski5225 10 ай бұрын
0011001000110001@@gman8361
@oncoding4520
@oncoding4520 Жыл бұрын
Your explanation is very good
@amirhosseinghasemi4831
@amirhosseinghasemi4831 Жыл бұрын
I like your explanation, thank you very much. I have learned many things which were really confusing for me before I found your videos
@danchuzhov6445
@danchuzhov6445 2 жыл бұрын
Thanks, Dom! What extension for VS Code shows you these detailed syntax hints?
@zannatul23
@zannatul23 Ай бұрын
excellent explanation!
@naglisbakstys4696
@naglisbakstys4696 Жыл бұрын
very good explanation
@xr3kTx
@xr3kTx Жыл бұрын
Thank you Document Object Model
@parmjeetmishra2
@parmjeetmishra2 Жыл бұрын
Well you are amazing. and have best content . I find your explanation very satisfactory . Thank you providing such detailed contents.
@abunurullah2340
@abunurullah2340 Жыл бұрын
Many Many Thanks
@mehrdad1068
@mehrdad1068 Жыл бұрын
Thank you ❤️
@happygirl4691
@happygirl4691 6 ай бұрын
Thank you, very helpfull
@mavsocc
@mavsocc Жыл бұрын
thank you, your videos are the best
@dcode-software
@dcode-software Жыл бұрын
You're welcome!
@nikitakopot
@nikitakopot Жыл бұрын
Thanks a lot!
@ayushsharma1567
@ayushsharma1567 Ай бұрын
Great great great great 👍
@johanvanwambeke723
@johanvanwambeke723 11 ай бұрын
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.
@monkeystylle
@monkeystylle 2 жыл бұрын
thanks bro.. you explained things so well ..
@js-developer
@js-developer Жыл бұрын
Nicely done man. 🎉
@brwka
@brwka 11 ай бұрын
Where can i find more exercise for practising reduce i need it eo much
@Cahid859
@Cahid859 2 жыл бұрын
Great content 👍
@SahraClayton
@SahraClayton 2 жыл бұрын
This is a great tutorial.
@gman8361
@gman8361 10 ай бұрын
What theme are you using in VS Code?
@gman8361
@gman8361 10 ай бұрын
Never mind, I found it. dcode theme.
@luisarroyo666
@luisarroyo666 2 жыл бұрын
Great tutorial bro!
@marie-elizeventer7080
@marie-elizeventer7080 Жыл бұрын
Great explanation thanks!
@dcode-software
@dcode-software Жыл бұрын
I'm glad you found it helpful
@suelingsusu1339
@suelingsusu1339 2 жыл бұрын
Good job... bravo!!!
@cagra8448
@cagra8448 2 жыл бұрын
Awesome video, thanks mate.
@chrisdietrich1533
@chrisdietrich1533 2 жыл бұрын
another great video thanks!
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome 😎👍
@himanshuarora1910
@himanshuarora1910 Жыл бұрын
whats this return "DOM" shouldn't it be Return part ?
@sakshiarora3565
@sakshiarora3565 Жыл бұрын
Return dom means Return document object model ,you should have gone through basics of vanilla js first
@naglisbakstys4696
@naglisbakstys4696 Жыл бұрын
how to console.log oldest user name with age in second example?
@beinyourguard
@beinyourguard 2 жыл бұрын
interesting!
@bmp713
@bmp713 Жыл бұрын
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.
@rukioruk6949
@rukioruk6949 Жыл бұрын
You: "My name is Dumb" Me: "🤔 Go on"
@غريبالاطوار-ه6ص
@غريبالاطوار-ه6ص 2 жыл бұрын
1
@ahmedaz6917
@ahmedaz6917 2 жыл бұрын
I want to know JavaScript supports OOP with classical inheritance. true?
@BobbyBundlez
@BobbyBundlez 2 жыл бұрын
find out elsewhere man
@TYLER-ol8fe
@TYLER-ol8fe 2 жыл бұрын
like like like
@21agdmnm
@21agdmnm 2 жыл бұрын
every freaking reduce exemple on youtube its the same... sum of some numbers..
@mohamedabass2736
@mohamedabass2736 2 жыл бұрын
watch the video till the end, it has some other examples
@paulcristo
@paulcristo Жыл бұрын
Thank you!
@anjalirani3066
@anjalirani3066 8 ай бұрын
Thank you😊😊
There Are 6 Ways To Improve This JavaScript Code
9:49
dcode
Рет қаралды 6 М.
5 Real Life Examples of Array Reduce in JavaScript
12:47
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 20 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Map, Filter & Reduce EXPLAINED in JavaScript - It's EASY!
11:23
12 Things Every JavaScript Developer Should Know
14:29
dcode
Рет қаралды 10 М.
16.7: Array Functions: reduce() - Topics of JavaScript/ES6
14:40
The Coding Train
Рет қаралды 132 М.
5 POWERFUL JavaScript Events You Didn't Know
10:43
dcode
Рет қаралды 15 М.
Reduce: 10 Different Examples. JavaScript Fundamentals.
26:57
Leigh Halliday
Рет қаралды 29 М.
Solving a JavaScript Array Reduce Interview Question
11:27
Wes Bos
Рет қаралды 23 М.
Another 5 Must Know JavaScript Array Methods
14:24
dcode
Рет қаралды 4,4 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
JavaScript Array Reduce Method Practice in 5 Minutes
8:02
James Q Quick
Рет қаралды 48 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН