Array Reduce Explained With Examples - JavaScript Tutorial

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

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 Жыл бұрын
Dom is the best at breaking down JavaScript, I've learnt a lot from him.
@kennethdouglasslai4833
@kennethdouglasslai4833 11 ай бұрын
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
@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.
@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.
@SomeshNukala
@SomeshNukala 5 ай бұрын
This is the best one of all youtube reduce videos
@troiks
@troiks 5 ай бұрын
Excellent video, best explanation o have come across. Really appreciate the detail you go into
@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!
@ahmadnku8336
@ahmadnku8336 11 ай бұрын
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.
@abubalo
@abubalo 2 жыл бұрын
Thank you Dom, this tutorial is enough for me to make sense of array.reduce
@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 8 ай бұрын
​@@gergoviski5225 Unless you're a machine I doubt what you're saying.
@gergoviski5225
@gergoviski5225 8 ай бұрын
0011001000110001@@gman8361
@motivacao-fire
@motivacao-fire 4 ай бұрын
damn bro, it took me a while to learn but with you for just 5 min i could understand, damn, thx bro
@SomeshNukala
@SomeshNukala 5 ай бұрын
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
@danielamirul6430
@danielamirul6430 10 ай бұрын
Here from Jonas Schemedtman JS on Udemy. I didnt understand well his explanation on reduce, but then discovered you!
@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
@davoodaslani3882
@davoodaslani3882 Жыл бұрын
One of the best explanations about this method.
@dcode-software
@dcode-software Жыл бұрын
I'm happy to hear you found it helpful 😌
@simeonpetrov594
@simeonpetrov594 Жыл бұрын
You deserve 1 000 000++ subscribes.
@johanvanwambeke723
@johanvanwambeke723 9 ай бұрын
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.
@xr3kTx
@xr3kTx Жыл бұрын
Thank you Document Object Model
@happygirl4691
@happygirl4691 4 ай бұрын
Thank you, very helpfull
@naglisbakstys4696
@naglisbakstys4696 Жыл бұрын
very good explanation
@paulcristo
@paulcristo 11 ай бұрын
Thank you!
@abunurullah2340
@abunurullah2340 10 ай бұрын
Many Many Thanks
@mavsocc
@mavsocc Жыл бұрын
thank you, your videos are the best
@dcode-software
@dcode-software Жыл бұрын
You're welcome!
@ayushsharma1567
@ayushsharma1567 6 күн бұрын
Great great great great 👍
@anjalirani3066
@anjalirani3066 6 ай бұрын
Thank you😊😊
@timemmanson8350
@timemmanson8350 9 ай бұрын
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?
@oncoding4520
@oncoding4520 Жыл бұрын
Your explanation is very good
@js-developer
@js-developer Жыл бұрын
Nicely done man. 🎉
@parmjeetmishra2
@parmjeetmishra2 11 ай бұрын
Well you are amazing. and have best content . I find your explanation very satisfactory . Thank you providing such detailed contents.
@monkeystylle
@monkeystylle 2 жыл бұрын
thanks bro.. you explained things so well ..
@Cahid859
@Cahid859 2 жыл бұрын
Great content 👍
@danchuzhov6445
@danchuzhov6445 Жыл бұрын
Thanks, Dom! What extension for VS Code shows you these detailed syntax hints?
@SahraClayton
@SahraClayton 2 жыл бұрын
This is a great tutorial.
@luisarroyo666
@luisarroyo666 2 жыл бұрын
Great tutorial bro!
@suelingsusu1339
@suelingsusu1339 2 жыл бұрын
Good job... bravo!!!
@brwka
@brwka 9 ай бұрын
Where can i find more exercise for practising reduce i need it eo much
@cagra8448
@cagra8448 2 жыл бұрын
Awesome video, thanks mate.
@marie-elizeventer7080
@marie-elizeventer7080 Жыл бұрын
Great explanation thanks!
@dcode-software
@dcode-software Жыл бұрын
I'm glad you found it helpful
@chrisdietrich1533
@chrisdietrich1533 2 жыл бұрын
another great video thanks!
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome 😎👍
@naglisbakstys4696
@naglisbakstys4696 Жыл бұрын
how to console.log oldest user name with age in second example?
@rukioruk6949
@rukioruk6949 10 ай бұрын
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
@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.
@gman8361
@gman8361 8 ай бұрын
What theme are you using in VS Code?
@gman8361
@gman8361 8 ай бұрын
Never mind, I found it. dcode theme.
@beinyourguard
@beinyourguard 2 жыл бұрын
interesting!
@غريبالاطوار-ه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 Жыл бұрын
watch the video till the end, it has some other examples
@nikitakopot
@nikitakopot Жыл бұрын
Thanks a lot!
@mehrdad1068
@mehrdad1068 Жыл бұрын
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
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 51 МЛН
Reduce: 10 Different Examples. JavaScript Fundamentals.
26:57
Leigh Halliday
Рет қаралды 28 М.
Map, Filter & Reduce EXPLAINED in JavaScript - It's EASY!
11:23
map, filter & reduce 🙏 Namaste JavaScript Ep. 19 🔥
37:42
Akshay Saini
Рет қаралды 903 М.
Array Methods in JavaScript | 17 Useful Methods
42:39
DoableDanny
Рет қаралды 55 М.
12 Things Every JavaScript Developer Should Know
14:29
dcode
Рет қаралды 10 М.
All 33 JavaScript Array Methods In One Video
51:11
Code Explained
Рет қаралды 30 М.
Reduce: Mother of all Javascript Array Methods? (Part 5)
23:52
Jack Herrington
Рет қаралды 16 М.
Inheritance in JavaScript - Prototypal Inheritance tutorial
20:06
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 477 М.
Another 5 Must Know JavaScript Array Methods
14:24
dcode
Рет қаралды 4,3 М.
отомстил?
00:56
История одного вокалиста
Рет қаралды 6 МЛН