Array Reduce Explained With Examples - JavaScript Tutorial

  Рет қаралды 31,353

dcode

dcode

Күн бұрын

Пікірлер: 63
@francodosha
@francodosha 2 жыл бұрын
Dom is the best at breaking down JavaScript, I've learnt a lot from him.
@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.
@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
@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!
@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.
@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.
@danielamirul6430
@danielamirul6430 Жыл бұрын
Here from Jonas Schemedtman JS on Udemy. I didnt understand well his explanation on reduce, but then discovered you!
@SomeshNukala
@SomeshNukala 9 ай бұрын
This is the best one of all youtube reduce videos
@SomeshNukala
@SomeshNukala 9 ай бұрын
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 9 ай бұрын
Excellent video, best explanation o have come across. Really appreciate the detail you go into
@abubalo
@abubalo 2 жыл бұрын
Thank you Dom, this tutorial is enough for me to make sense of array.reduce
@davoodaslani3882
@davoodaslani3882 Жыл бұрын
One of the best explanations about this method.
@dcode-software
@dcode-software Жыл бұрын
I'm happy to hear you found it helpful 😌
@diogoliveira45
@diogoliveira45 8 ай бұрын
damn bro, it took me a while to learn but with you for just 5 min i could understand, damn, thx bro
@abunurullah2340
@abunurullah2340 Жыл бұрын
Many Many Thanks
@heyitsmattox6509
@heyitsmattox6509 2 жыл бұрын
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 2 жыл бұрын
For me single letters is better:)
@gman8361
@gman8361 Жыл бұрын
​@@gergoviski5225 Unless you're a machine I doubt what you're saying.
@gergoviski5225
@gergoviski5225 Жыл бұрын
0011001000110001@@gman8361
@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
@somnathbiswas07
@somnathbiswas07 7 күн бұрын
pro max examples❤❤
@zannatul23
@zannatul23 4 ай бұрын
excellent explanation!
@oncoding4520
@oncoding4520 2 жыл бұрын
Your explanation is very good
@mavsocc
@mavsocc Жыл бұрын
thank you, your videos are the best
@dcode-software
@dcode-software Жыл бұрын
You're welcome!
@timemmanson8350
@timemmanson8350 Жыл бұрын
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?
@parmjeetmishra2
@parmjeetmishra2 Жыл бұрын
Well you are amazing. and have best content . I find your explanation very satisfactory . Thank you providing such detailed contents.
@js-developer
@js-developer Жыл бұрын
Nicely done man. 🎉
@naglisbakstys4696
@naglisbakstys4696 2 жыл бұрын
very good explanation
@mehrdad1068
@mehrdad1068 Жыл бұрын
Thank you ❤️
@happygirl4691
@happygirl4691 9 ай бұрын
Thank you, very helpfull
@monkeystylle
@monkeystylle 2 жыл бұрын
thanks bro.. you explained things so well ..
@ayushsharma1567
@ayushsharma1567 4 ай бұрын
Great great great great 👍
@johanvanwambeke723
@johanvanwambeke723 Жыл бұрын
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.
@Cahid859
@Cahid859 2 жыл бұрын
Great content 👍
@danchuzhov6445
@danchuzhov6445 2 жыл бұрын
Thanks, Dom! What extension for VS Code shows you these detailed syntax hints?
@nikitakopot
@nikitakopot Жыл бұрын
Thanks a lot!
@luisarroyo666
@luisarroyo666 2 жыл бұрын
Great tutorial bro!
@xr3kTx
@xr3kTx Жыл бұрын
Thank you Document Object Model
@cagra8448
@cagra8448 2 жыл бұрын
Awesome video, thanks mate.
@marie-elizeventer7080
@marie-elizeventer7080 2 жыл бұрын
Great explanation thanks!
@dcode-software
@dcode-software 2 жыл бұрын
I'm glad you found it helpful
@SahraClayton
@SahraClayton 2 жыл бұрын
This is a great tutorial.
@suelingsusu1339
@suelingsusu1339 2 жыл бұрын
Good job... bravo!!!
@brwka
@brwka Жыл бұрын
Where can i find more exercise for practising reduce i need it eo much
@chrisdietrich1533
@chrisdietrich1533 2 жыл бұрын
another great video thanks!
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome 😎👍
@gman8361
@gman8361 Жыл бұрын
What theme are you using in VS Code?
@gman8361
@gman8361 Жыл бұрын
Never mind, I found it. dcode theme.
@rukioruk6949
@rukioruk6949 Жыл бұрын
You: "My name is Dumb" Me: "🤔 Go on"
@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 2 жыл бұрын
how to console.log oldest user name with age in second example?
@bmp713
@bmp713 2 жыл бұрын
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.
@beinyourguard
@beinyourguard 2 жыл бұрын
interesting!
@ahmedaz6917
@ahmedaz6917 2 жыл бұрын
I want to know JavaScript supports OOP with classical inheritance. true?
@BobbyBundlez
@BobbyBundlez 2 жыл бұрын
find out elsewhere man
@غريبالاطوار-ه6ص
@غريبالاطوار-ه6ص 2 жыл бұрын
1
@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
@anjalirani3066
@anjalirani3066 10 ай бұрын
Thank you😊😊
@paulcristo
@paulcristo Жыл бұрын
Thank you!
Map, Filter & Reduce EXPLAINED in JavaScript - It's EASY!
11:23
5 Real Life Examples of Array Reduce in JavaScript
12:47
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
12 Things Every JavaScript Developer Should Know
14:29
dcode
Рет қаралды 11 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 226 М.
Learn JavaScript Array Reduce In 10 Minutes
10:22
Web Dev Simplified
Рет қаралды 206 М.
Understanding Ownership in Rust
25:30
Let's Get Rusty
Рет қаралды 279 М.
JavaScript Array Reduce Method Practice in 5 Minutes
8:02
James Q Quick
Рет қаралды 49 М.
Reference Vs Value In JavaScript
15:12
Web Dev Simplified
Рет қаралды 187 М.
Reduce: 10 Different Examples. JavaScript Fundamentals.
26:57
Leigh Halliday
Рет қаралды 29 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 854 М.
JavaScript Array Reduce
7:42
Programming with Mosh
Рет қаралды 343 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.