Тёмный

Javascript .filter(), .map() and .reduce() on real world examples 

The Codeholic
Подписаться 83 тыс.
Просмотров 76 тыс.
50% 1

The video explains how javascript .filter(), map() and .reduce() methods work.
=========================================================
-----------------AUDIO GEAR I HAVE-------------------
My Main Microphone - amzn.to/3eVCQ8v
Microphone Scissor Arm Stand - amzn.to/39mkGLQ
Microphone Shock Mount with Pop Filter - amzn.to/3jz7R5v
Audio Interface - amzn.to/30IoJhz
Microphone Pop Filter Mask Shield - amzn.to/3eXoQee
-----------------CHEAP AUDIO SETUP-----------------
Microphone + Shock mount + Scissor Arm - amzn.to/2D10Zxe
=========================================================
Check my Github:
github.com/thecodeholic
Follow me on social media:
/ thecodeholic
/ thecodeholic
/ thecodeholic

Опубликовано:

 

17 дек 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@williamjog93
@williamjog93 3 года назад
Thanks for the excellent explanation, using separate methods and then combine them into a new function.
@nadiaharrismartinez
@nadiaharrismartinez 2 года назад
So concise and really well done. Thanks for this!
@douglasmiranda4756
@douglasmiranda4756 5 лет назад
Many thanks for this. A good explanation!
@SH-lt2iv
@SH-lt2iv 4 года назад
very good examples thank you !
@rancidratd
@rancidratd 3 года назад
finally, i understood how this works and for what, thank you!
@LonelyJester
@LonelyJester 5 лет назад
very good explanation on the reduce!
@kiwi-Centaur
@kiwi-Centaur 2 года назад
thank you heaps, wonderful video, clear and precise with a good example, filter,map and reduce doesnt scare me anymore..haha
@Tengkuma
@Tengkuma 3 года назад
Wow the real world example helps alot. Thanks
@santiagoortiz619
@santiagoortiz619 4 года назад
This explanation is awesome! Thanks a lot!
@TheCodeholic
@TheCodeholic 4 года назад
You are welcome.
@Summer9604
@Summer9604 5 лет назад
In the last example .map() just felt like another .filter() , good video!
@TheCodeholic
@TheCodeholic 5 лет назад
Thanks
@entrozone9680
@entrozone9680 3 года назад
Thanks man,great explanation
@jorgemanzur198
@jorgemanzur198 4 года назад
great explanation, thanks
@user-wl7ub4rj6m
@user-wl7ub4rj6m 3 года назад
Thank you for this lesson
@jeevanthalluri2200
@jeevanthalluri2200 2 года назад
Great explanation.SHORT AND SMART AND SWEET AND SUPER
@pankajsharma-rf1ov
@pankajsharma-rf1ov 3 года назад
such a good explanation 👌
@kieran2347
@kieran2347 3 года назад
The explanation was good thanks
@rishabhrao3661
@rishabhrao3661 Год назад
Amazing and concise
@merlinafera4865
@merlinafera4865 2 года назад
Free checker is an email logger your email list can be retrieved by the tools builder
@MrFahimansari
@MrFahimansari 3 года назад
Very nicely explained
@manishshrestha241
@manishshrestha241 3 года назад
thanku sir ur heroo..
@balajikesavan9933
@balajikesavan9933 2 года назад
Great explanation
@adambenson5098
@adambenson5098 4 года назад
How do u view an output in the terminal of vscode????
@farhanrafi6709
@farhanrafi6709 2 года назад
open terminal then type >> node filename.js >>then hit enter
@romesupaila1864
@romesupaila1864 3 года назад
If it's passable or not in Multidimensional array map and reduce filter in lamda expression If it's passable how to do example
@TheCodeholic
@TheCodeholic 3 года назад
Can you be more specific?
@AyushKumar-tp3bz
@AyushKumar-tp3bz 3 года назад
Nice explanation
@ankush_in_sync5998
@ankush_in_sync5998 3 года назад
Thank yōu sir
@thantrunguc6320
@thantrunguc6320 4 года назад
Ai biết tiếng việt có thể vietsub lại được không? Tiếng anh của mình rất kém nên không thể hiểu được anh ấy nói gì . Please
@rambevara5702
@rambevara5702 Год назад
Fantastic
@pankajsharma-rf1ov
@pankajsharma-rf1ov 3 года назад
awesome explanation
@TheCodeholic
@TheCodeholic 3 года назад
Glad you liked it
@shahrozcheema4602
@shahrozcheema4602 4 года назад
i love uuuuuuuuuuuuuuuuuu
@AkinBelieve
@AkinBelieve 2 года назад
Could not get these to click. It just clicked. Thanks!
@geritoxnm
@geritoxnm Год назад
I'm still as lost as I was before watching. I guess I need a break for my brain to work again...
@sureshmg6786
@sureshmg6786 4 года назад
const appreciationArr = [ { id: 1, msg: "All 3 methods explained very well," }, { id: 1, msg: " Thanks a lot!" }, { id: 2, msg: "Good job " }, { id: 2, msg: "and keep going!!" }, ]; const resultArr = appreciationArr .filter((item) => item.id === 1) .map((resItem) => resItem.msg) .reduce((item1, item2) => { return item1 + item2; }); console.log(resultArr);
@TheCodeholic
@TheCodeholic 4 года назад
Love your comment man, Just item1 should probably be named as accumulator
@sureshmg6786
@sureshmg6786 4 года назад
@@TheCodeholic you mean like accumulator1, accumulator 2?
@TheCodeholic
@TheCodeholic 4 года назад
@@sureshmg6786 No, I mean accumulator, item. The first argument of the reduce's callback is accumulator and second argument is array element. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
@user-sv9tu6ff2q
@user-sv9tu6ff2q 7 месяцев назад
why you arent working in console.. it is not look good to learn on your site
@littleElmimo123
@littleElmimo123 4 года назад
These weren’t real world examples.
@Kingstar_officialboy
@Kingstar_officialboy Год назад
We are new learners …… now here in 2023 ❤😢
@PCEANANTHGUTTI
@PCEANANTHGUTTI Год назад
bokkala cheppav \
@prasenjeet419
@prasenjeet419 5 лет назад
Ur watch time would increase if u would just zoom in and make it easier for us to see what's going on in the screen. Or people would just stop watching ur vid midway like how I am leaving
@TheCodeholic
@TheCodeholic 5 лет назад
Thanks for your comment. I am already doing this in my latest videos.
@alexmercer6585
@alexmercer6585 4 года назад
I can see well and clear. See an eye doctor
@yoooyoyooo
@yoooyoyooo 3 года назад
@@alexmercer6585 Only if the doctor is zoomable.
Далее
8 Must Know JavaScript Array Methods
10:05
Просмотров 1 млн
вот тебе и бэйбик👴🏻
01:00
Просмотров 311 тыс.
НОВАЯ ПАСХАЛКА В ЯНДЕКСЕ
00:20
Просмотров 56 тыс.
Недооцененный котел в Симс 4
00:37
Зачем он туда залез?
00:25
Просмотров 2,6 млн
JavaScript Pro Tips - Code This, NOT That
12:37
Просмотров 2,5 млн
Array Method filter map reduce
9:35
Просмотров 64 тыс.
вот тебе и бэйбик👴🏻
01:00
Просмотров 311 тыс.