This video covers the JavaScript Array higher order function filter().
🎥 Next Video:
🔗 MDN’s Array Documentation:
🎥 The Modulo Operator with Golan Levin:
🎥 Regular Expressions:
🚂 The Coding Train website:
💖 Support this channel on Patreon:
🛒 To buy Coding Train merchandise:
📚 Book recommendations:
💻
🎥 For an Introduction to Programming:
🎥 For More Coding Challenges:
🔗
🔗
📄 Code of Conduct:
Nguồn:https://mcitmc.org/
Xem Thêm Bài Viết Khác:https://mcitmc.org/cong-nghe/
dude.. you're actually.. making sense.
THANK YOU SIR
I love this guy's energy!
OMG this video appered when i was doing my function exercise
Thanks for being so animated! I actually learned alot! 🙂
Best ever programming video 🙂 no boring coding Just fun learning coding 😛
i dont know why i burst into laughter one minute after the video, i think i just found my next youtube javascript teacher
does writing this code in a more cryptic but shorter form make it faster in browser to execute? or is the difference nihil?
I want u to be my dad <3
I'm with you on making code more readable vs terse.
great video! ur very good at teaching 🙂
Thanks ♥
You are THE best.
If i want to chain map and filter , do i have to use filter before map ?
4:00 Wtf does function isEven(num){
return(num%2==0)
}
even mean? Is there a hidden if condition inside (num%2==0)??? I understand the % operator but I dont understand this shortcut for return….
I am following freecodecamp and sometimes I feel that the exercises ask to solve problems when the concepts have not been explained properly and it's very frustrating, even their "Hint" sections are so vague it makes me feel stupid that I can't understand them. This is your first video I've seen and I like your style, I will go back to watch more of your videos!
Man I just started my first coding job. And I'm struggling. You've been such a great help though. Keep it up dude!
I love these and I love you.
you are just perfect …thank you very much
Hi! I am new to JS and was testing the arr.split(/W…..).filter(….) function and I had the word 'Can't' in my string. It split it into two elements, 'Can', and ' 't'. Is there a way to output it as a single element?
X => X …. How did it bypass undefined?
——- * H E L P * ——–
Thanks for taking your personal time to help the masses.
I have spent 6 hours trying to wrap my head around JS and it is abstract to me ( not ART but abstract gibberish )
My WIX website ( built because I cant afford to pay a developer ) is ALMOST FINISHED except for 2 functions that need to work to make the website worth launching — WITHOUT THESE TWO FUNCTIONS it is pointless to launch my site.
I dont understand any of this and cant afford to pay — UP FRONT — anyone to help —- *I CAN PAY* from the profits of my site once the site is WORKING and launched ——-
*I need help from anyone who knows what they are doing and willing to work with me*
MSG me
To all those just starting to dive into the deep end of Javascript, it's totally ok to watch this a few times to "get it"
Thank you !! You're Videos have really helped me.
Arrow functions are just beautiful. So much easier and less prone to side effects.
you are literally the best teacher i've ever seen, and im registered to Udemy,treehouse and pluralsight, Thank you !
I really liked your video and liked the way you do the teaching, where I can find more video for you, I do not know your name to say whom was teaching this video but it's the video about Javascript 'FILTER'
THANK YOU FOR SHARING!!!! 🙂
after struggling with this for 2 days, I got it with your video, thank you!
this guy is awesome i love it <3
Hello i like your videos so much and your explanation its high keep up, but I have a question I am using filter, reduce and map to a function but cannot filter things by the date, I am using TypeScript in Angular 4, here is my code, if you can take time to answer of course.
xport function getTotalYearCosts(valueItem: ValueItem, allCosts: Map<string, Costs>): TotalCosten {
const totalYearCosts = { planned: 0, actual: 0 };
totalYearCosts.actual = valueItem.actualCostIds
.map(costId => allCosts.get(costId, emptyCosts()).costs)
.filter(costs => costs.created)
.reduce((reduction, costs) => reduction + costs, 0);
Best Regards
thank you so much, your videos very helpful 🙂
Hate those grimy arrays.
In FP you dont reassign a new value to a var.. you create a new one..its about the inmutability of data…
How did you make localhost. I watched your video, but still couldn't make it… I installed plugin for atom (atom-live-server) but when i open server on the right side i just get sample of my code which i wrote in atom.