JavaScript Higher Order Functions & Arrays

preview_player
Показать описание
In this video we will look at some of the very powerful higher order functions and working with arrays. We will look at forEach, map, filter, reduce and sort.

SPONSOR:

MODERN JAVASCRIPT FROM THE BEGINNING ($10 PROMO):

CODE: JSFiddle

💖 BECOME A PATRON: Show support & get perks!

VISIT MY WEBISTE: Check Out My Udemy Courses

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

I just recieve my first pay working like a front-end dev, and i buy your course, becouse i need to be better with js and becouse thanks to you i got my job, thanks man youre the best teacher, if one day you come to México, youre welcome in my house!

OmarBugarin
Автор

Timestamps -
ForEach() - 3:25 - 5:30
Filter() - 5:30 - 15:30 (8:55 One liner filter code) (filter will returns an array - meaning you do not need a separate variable for an array)
Map() - 15:45 - 21:05 (20:30 You can link multiple Map() like .then() from promises)
Sort() - 21:10 - 25:50 (Takes two params)
Reduce() - 25:50 - 30:55 (Reduces the array to a single value - from LEFT to RIGHT)

Extra : 31:05 - 33:40 (Combine all four methods)

sonnyps
Автор

RIght now I have reached a level where searching for a video within "Traversy Media" channel seems to be more bliss than searching whole YouTube. Top class Brad :)

HariramNandagopal
Автор

Those "Now put it on pause and try to do it yourself" are gems in your videos man, really helps to learn!

boristheblad
Автор

Actually understanding those basics should be what people focus on, instead of learning frameWorks and libraries without knowing what is going on under the hood..once again thanks, Brad!!!

ousmanebocoum
Автор

Brad, honestly speaking you're by far the best source of not only quality and useful programming info but your explanations and comprehension of these concepts and their application is really great and very easy to understand. Thanks for the amazing content!

troytempest
Автор

I've been struggling with these functions for a while, and this video really helped!

zachaluza
Автор

Your tutorials are out of this world. You explain every single thing, what makes them really easy to follow and begginer-friendly. I can't thank you enough for that! I'm a fan of your work :)

davidvideauortega
Автор

Thanks For the great tutorials, they are so helpful, I had my first developer job interview, needless to say, I don't think I'll get the job, but what I have learned through practice and watching your tutorials was tremendously helpful during the interview process. First code test I passed easily, second code test was much more difficult and I couldn't figure out the code but I was able to figure out parts of it. Seriously thanks for the tutorials.

For those of you out there just starting out, looking for your first developer jobs, the JS test I was given consisted of an easy first test, basically just asking basic questions about identifying operators, for loops, switch statements, what are objects stuff like that. The second test was to write a function where I had to figure out how to find words in a given sentence/string that contain a specific character and output those words that start with that character and then reverse the words. Didn't do so well on the second test.

thevoiceofgod
Автор

Great examples. I love how you break things down and then show simpler ways of getting the same results. Really helpful. Thanks, Brad

ITSHWK
Автор

My native language it´s spanish, and i understood better than people that explains on spanish. Thank you so much, great teaching.

daviddrahllensa
Автор

I really don't get how can ppl dislike a video of a guy who gives them some knowledge for free ... like how ??

othmane
Автор

Brad, your way of explaining abstract things like functions suits well to many, many future programmers.
A humble thank you!
PS. And also your voice and tone is really soothing for people who want to learn.

kissromeorichard
Автор

Thanks Brad for this. I was preparing a lesson for my Cambridge students. This helped greatly. Keep it going man.

LaurenceBahiirwa
Автор

You are SUCH a great teacher! I found you through your course Modern JavaScript from the Beginning and these youtube videos are just the icing on the cake. Thanks so much for spreading your knowledge!

sarahrudy
Автор

This has got to be the best video explaining higher level JS functions. There are so many potential pitfalls when you learn this stuff, but you covered just about everything in an extremely concise way.

scottvarieur
Автор

Thank you Traversey, your content inspires a lot to make my day to day work better.

ajaybayya
Автор

Brad, just love this video!!! Really great examples and well explained. Really like you testing us by asking us to pause and try ourselves. Makes it so interactive. Thumbs up!!!

ScottGrovesBrainDump
Автор

Your lessons are so straight forward. Thank you for not overcomplicating simple concepts. I don't know why array functions keep messing with my head but this helps SOOO MUCH!

edhead
Автор

omfg ur explanation of how if only one parameter is in fuction then it doesnt need paranthesis cleared up SO much for me, thank u

BobbyBundlez