*FULL VIDEO ON ARRAY REDUCE:* kzbin.info/www/bejne/aZ6qk617gbd1oa8 *Enrol Now - THE ULTIMATE JAVASCRIPT DOM CRASH COURSE* 👇 www.udemy.com/course/the-ultimate-javascript-dom-crash-course/?referralCode=DC343E5C8ED163F337E1
@user-shamrai2 жыл бұрын
You have a gift for explaining things clearly. I don't even understand English very well, but I understood you completely. Thank you
@DaviddelaHarpe Жыл бұрын
dude! killer video. You're right, most reduce method tutorials focus on one scenario, adding up all the element of an array. Your video was far more comprehensive to real world scenarios. Very well explained too!
@dev_ression2 жыл бұрын
Good to meet a fellow Australian programmer bro! You've got a new sub
@dcode-software2 жыл бұрын
Welcome 😊 thank you for subscribing. Good luck with your channel!
@saman61992 жыл бұрын
I just found your channel, and as someone mentioned, good to see a nice Aussie instructor. Thanks 🙏
@srinivasaraoyp36405 ай бұрын
It's very useful. I should practice it. Thank you.
@nawal77212 жыл бұрын
how is prev[color] returning the color name but then (prev[color] || 0) + 1 is return a number. Also if I just console.log(prev[color]) it outputs numbers but i though I should output {green}. I'm well confused.
@NedumEze2 жыл бұрын
Amazing. Thank you Dom. You've got a Computer's mind! Am envious. Wish you could help me figure out a PHP challenge.
@DavidMwai-dj8up2 жыл бұрын
Always a great tutor: Subscription should be @1m+ for the great content you always deliver
@s2유아마에브리띵2 жыл бұрын
I recommend this lecture. thanks a lot👍👍👍
@allhailalona8 ай бұрын
great vidoe! thank you very much!
@taofeeqomotolani23112 жыл бұрын
DOM, thanks man
@marimuthur9456 Жыл бұрын
You are really awesome bro thank you so much for your knowledge sharing keep go ahead 👌🏼👌🏼👌🏼😊😊
@parmjeetmishra2 Жыл бұрын
Amazing .. Thank you
@skolotoi45882 жыл бұрын
thanks, Dom!
@rysmo0 Жыл бұрын
Nice one. Better used in complex methods.
@karlstenator2 жыл бұрын
At 9:35 - if I try to return either the object, or the name of the highest salary object - I get an undefined return. Could you post the solution please?
@neilgregsoil1989 Жыл бұрын
GOOD SIR!
@julioarruda81822 жыл бұрын
thanks again
@abubalo2 жыл бұрын
Array.reduce() is like array.filter() but on steroid. You can do a lot with it.
@streamx22 жыл бұрын
I'm a little confused with the house building example. Shouldn't it be return prev.cost + material.cost?
@capslock3250 Жыл бұрын
7:17 return prev[key] = value ?
@ashishchowdary98655 ай бұрын
Because prev is an updated object and you need to return object from the callback function
@AidaHashemii8 ай бұрын
perfect
@devax1t2 жыл бұрын
i did learn something :)
@dcode-software2 жыл бұрын
Awesome 🔥
@suelingsusu13392 жыл бұрын
👌👌👌👍👍👍👍🙏🙏🙏🙏🖖🖖🖖🖖🌹🌹🌹🌹
@ali_mov_f2 жыл бұрын
first
@jordanski54212 жыл бұрын
same
@Leron_T2 жыл бұрын
@@jordanski5421 same
@squarerootof22 жыл бұрын
Congrats. You'll all get a lame, dummy & cringe award to add to your collections.