Master JavaScript Array Reduce Method In 10 Minutes

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

That was the best understanding of an Array method I had in just 10 minutes. Clear and thorough ! Thank you.

kalaivanib
Автор

I studied Javascript for 1 year or more and never fully understood the Reduce method, just for basic things like sum, but this explanation was monstrous.
Thank you Colt Steele

renatoknot
Автор

Nice learning material as always. I learned sql from you better than from my university classes, and now learning new things in javascript

JoseAlvarez-dlhm
Автор

Another great use case for .reduce() is that you can use it to build up sequences of strings. If you think of code itself as just being a sequence of strings, then it's possible to use reduce to automate writing code. ☺️

kevinrobertandrews
Автор

Hey Colt,

I firmly believe that the name you give your child plays a significant role in their future success. With that in mind, your parents must have really wanted the best for you.

Your new subscriber and fan,

Dick Everhard.

NadaII
Автор

Thank you for explaining this step by step, its so straight forward and refreshing as always :) 😍

Peggysue_zSut
Автор

Thanks Colt, your explanation is very clear

vasyaqwe
Автор

Thanks for breaking it down Mr. Steele! It finally clicked for me :)

KILLCHRISU
Автор

Hello Colt i started your web developer bootcamp and im so exited to do it, i'll tell u when i finish it and try to get a job.
pd(i love how you explain all things)

andresfelipearianoramirez
Автор

Reduce object section (8.04min):

A weak comparison is made with the equality (==) operator where the "null" value is seen in the same way as an "undefined" value.
If we use the strict equality comparison (===) we see that with "null" we have problems while with undefined we do not.

I think it is always a good idea to use strinct equality comparisons instead of weak ones, also to avoid wasting time in debugging.

I always follow you when I can Cold ;)

ataru-music
Автор

Colt Steele teaching me new things every day, thanks brother

codiejones
Автор

When would you want to use this vs writing your own recursive function? They both act in a similar way and in the data structure course, a lot of the recursion examples were similar to these reduce ones

dabinalab
Автор

My question is, why lot of people do not recommend using reduce. I saw lot of articles, even lint configuration when it yells when using reduce. What are your thoughts on this?

MS-elwj
Автор

Great video as always! But no extravagant thumbnail?! Colt we were on a roll!

bcrowie
Автор

Hi Colt. I would like to ask for advice on which course is better to explain Java script The Web Developer Bootcamp 2022 or The Modern Javascript Bootcamp Course (2022)?

ybfhzse
Автор

Thank you so much Colt! Love your courses on Udemy, you are one of the best teacher I ever encountered, would you consider do some tutorials for PHP? since I would like to be freelancing for website development, wordpress is still widely used... hope I can get some response from you, thanks!

lisalin
Автор

Thank you Colt. Are you going to update your Javascript Course?

oneofone_
Автор

Could you make a video about DTOs in express?

gawcuuu
Автор

Do you plan on remaking the Algorithms and Data Structures course as you did with MySQL ? because that would be great!

pietricele
Автор

Is second case doing .map() method? We can do the same with .map(), right?
I heard that .reduce() wraps .filter() and . map() methods

shifronim