16.5: Higher Order Functions in JavaScript – Topics of JavaScript/ES6




In this video, I discuss “higher order functions” in JavaScript.

πŸŽ₯ Next Video: https://youtu.be/EnYlhbpzhU4

πŸŽ₯ Topics of JavaScript/ES6: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YgpA3Oht-7B4NBQwFVe3pr
πŸŽ₯ ES6 Arrow Function: https://youtu.be/mrYMzpbFz18
πŸŽ₯ Closures in JavaScript: https://youtu.be/-jysK0nlz7A

πŸš‚ The Coding Train website: http://thecodingtrain.com/
πŸ’– Support this channel on Patreon: https://patreon.com/codingtrain
πŸ›’ To buy Coding Train merchandise: https://www.designbyhumans.com/shop/codingtrain/
πŸ“š Book recommendations: https://www.amazon.com/shop/thecodingtrain

πŸ’» https://github.com/CodingTrain/Rainbow-Code

πŸŽ₯ For an Introduction to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
πŸŽ₯ For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

πŸ”— https://p5js.org/
πŸ”— https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

Original source


28 responses to “16.5: Higher Order Functions in JavaScript – Topics of JavaScript/ES6”

  1. FINALLY! A coding demonstration channel with personality!

    The energy was infectious and actually funny which is wayyyyyyyy more than you can say about any of the other programming channels i've tried!

  2. Hi thanks for your videos you are awesome healthy guy!
    I have one question cus i am a beginner, I see this first time, how can you pass a number into a variable 'doubler(4)' and that variable knows that you are referring to returned x parameter??? How and why it knows that, how is that linked?

  3. What's crazy is you could also do

    const multiplier = factor => x => x * factor

    In fact, if you wanna get extra crazy, you can keep nesting the pattern as far as you want.

    I seriously love JS.

Leave a Reply