loved the video, seriously! passing functions as arguments is a kinda confusing topic for newbies... but you really helped me understand this important thing better! thank you and keep doing this great work... going into topics such in depth
First time seeing one of your videos. Love it, one of the best presentations I have seen in a while. Clear and to the point. I now have a better understanding of functions. Thanks! Subscribed!
thanks a lot Avilla for the explanations. after long time I found a tutorial which could help me to understand how parameters and arguments works in a function.
Best explanation on the topic. this was soooooo confusing to me. but your video has made it clear and i was able to complete my practice weather app. thanks so much.
excellent video,,, can you show in a video how to replace a complex conditional statement with a Single-table inheritance in Rails? a polymorphic associations can be a solution too?
Trying to understand arrow functions and higher order functions in JS I am stuck at this question: "Write a function called useParameterToFilterArray that takes an anonymous function and uses that in the `unfilteredArray` filter function then return the result. let unfilteredArray = [1, 2, 3, 4, 5, 6]; //given" what this question is actually trying to say? (cant wrap my head around) could you help me understand this?
That prompt doesn't really make sense to me either 😅. "Write a function called useParameterToFilterArray that takes an anonymous function..." looks like this: function useParameterToFilterArray(filterFunction, array) { } "and uses that in the `unfilteredArray` filter function then return the result." That part of the prompt doesn't really make sense. I think what it intends is to _use_ that filterFunction on each of the elements in the array to create a new array that only contains elements that when passed into the filterFunction, returns true? Technically, you could implement the function with array.filter(fn), but my guess is that's a bit of cheating, so this is a more raw implementation: gist.github.com/cjavdev/d7788a6b2abc64faf0ac4e1f65f2c698.
loved the video, seriously! passing functions as arguments is a kinda confusing topic for newbies... but you really helped me understand this important thing better! thank you and keep doing this great work... going into topics such in depth
I'm so happy to hear the video helped you out. Any other topics you'd like to see covered in depth? :)
Perfect, very very useful, crisp and clear
Thanks for watching!
Insanely helpful! Thank you for picking all the topics I was looking for and covering in one great tutorial.🙌
First time seeing one of your videos. Love it, one of the best presentations I have seen in a while. Clear and to the point. I now have a better understanding of functions. Thanks! Subscribed!
Great stuff man, love the JS stuff! Great teacher too.
thanks a lot Avilla for the explanations. after long time I found a tutorial which could help me to understand how parameters and arguments works in a function.
keep it up CJ, its really help me, thanks
Glad to hear that, Kashi! Any topics in particular you'd like to see covered?
Awesome video mate!
13:00 Why does "This is a" get called before "This is foo"?
Best explanation on the topic. this was soooooo confusing to me. but your video has made it clear and i was able to complete my practice weather app. thanks so much.
Thanks for watching! Wonder what your weather app is saying about New England today with the storm!
exactly what i was looking for thx
freaking good.realy helpful thanks
It passes a function but every time it passes a function it passes a function
excellent video,,, can you show in a video how to replace a complex conditional statement with a Single-table inheritance in Rails? a polymorphic associations can be a solution too?
Yeah I can do that. That’s a fun one :)
excellent video ty for the info
Thanks for watching!
Very comprehensive
Thank you!!
good didactics. thank you.
amazing, this is top quality
What programs do you use to project the computer screen and give movement to your image
I use screenflow
Trying to understand arrow functions and higher order functions in JS
I am stuck at this question:
"Write a function called useParameterToFilterArray that takes an anonymous function and uses that in the `unfilteredArray` filter function then return the result. let unfilteredArray = [1, 2, 3, 4, 5, 6]; //given"
what this question is actually trying to say? (cant wrap my head around)
could you help me understand this?
That prompt doesn't really make sense to me either 😅.
"Write a function called useParameterToFilterArray that takes an anonymous function..." looks like this:
function useParameterToFilterArray(filterFunction, array) {
}
"and uses that in the `unfilteredArray` filter function then return the result."
That part of the prompt doesn't really make sense.
I think what it intends is to _use_ that filterFunction on each of the elements in the array to create a new array that only contains elements that when passed into the filterFunction, returns true?
Technically, you could implement the function with array.filter(fn), but my guess is that's a bit of cheating, so this is a more raw implementation: gist.github.com/cjavdev/d7788a6b2abc64faf0ac4e1f65f2c698.
you like a robot :D (it's a compliment)
thank you 3>