How to Use the New JS Object GroupBy Method

How to Use the New JS Object GroupBy Method

Steve Griffith - Prof3ssorSt3v3

5 месяцев назад

3,941 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@muhammadhossam8557
@muhammadhossam8557 - 27.05.2024 15:53

very helpful details
thanks for your great videos

Ответить
@barungh
@barungh - 27.05.2024 17:31

Congratulations on 100K subscribers,
and thanks a lot for sharing your knowledge and expertise

Ответить
@binodsharma112
@binodsharma112 - 27.05.2024 18:52

Great video, Thank you

Ответить
@aleksandarpopovic3615
@aleksandarpopovic3615 - 27.05.2024 19:29

behind the scene
movies.reduce((groupBY, item) => {
if(!groupBY[item.series]) groupBY[item.series] = [];
groupBY[item.series].push(item)
return groupBY
}, {})


I don't understand the purpose of adding things without some benefit...
nothing less code is written...

who does not understand reduce, will not understand this either

Ответить
@LucianoClassicalGuitar
@LucianoClassicalGuitar - 27.05.2024 20:54

Finally Steve is back!

Ответить
@xxapoloxx
@xxapoloxx - 27.05.2024 23:43

why is this in object and not in array?.

Ответить
@fellastout
@fellastout - 28.05.2024 07:02

Lipstick on a pig (map method)? But it looks useful, thanks Steve.

Ответить
@shahinza
@shahinza - 28.05.2024 15:09

Thank you professor for the great video

Ответить
@deepakvishwakarma2043
@deepakvishwakarma2043 - 29.05.2024 08:24

great ! can we also sort this based on no. of items in series instead of random order (length of keys : []) ?

Ответить
@thejarxtv
@thejarxtv - 29.05.2024 11:36

I always enjoy your videos, cheers on those 100K!

Ответить
@SureddiBhargav
@SureddiBhargav - 29.05.2024 14:52

Hello Sir, can you please make videos on node js background processes, how the cores come into play?

Ответить
@codetechpro
@codetechpro - 29.05.2024 20:38

I always enjoy your videos, something new I learned today, thanks Steve

Ответить
@sachin.tandon
@sachin.tandon - 29.05.2024 22:07

Is there a way of using this function to do a 2-level nested grouped Map/Object, if one were to provide a pair of keys, e.g. { key, sub-key }

Ответить
@cristian702
@cristian702 - 29.05.2024 22:35

Welcome back! Just noticed your new videos. Yes!

Ответить
@Mark-ms8gk
@Mark-ms8gk - 30.05.2024 03:07

100k! It was a long journey but very well deserved. Congratulations!

Ответить
@user_8911
@user_8911 - 31.05.2024 09:38

It would be nice to add performance comparison section to the video.

Ответить