egghead.io
illustration for JavaScript interview: Learn functional programming with solving coding challenges

Course

JavaScript interview: Learn functional programming with solving coding challenges

  1. 1
    Create JavaScript Scratchpad with quokka.js in VSCode
    3m 37s
  2. 2
    Rewrite a JavaScript Function as an Arrow Function
    5m 39s
  3. 3
    Implement array map function with array.reduce method
    4m 56s
  4. 4
    Filter out Duplicates from Flat JavaScript Array with array.filter
    2m 29s
  5. 5
    Remove Duplicates from Flat Array with array.reduce in JavaScript
    3m 44s
  6. 6
    Remove Duplicates from Flat Array in with JavaScripts Set Data Structure
    2m 38s
  7. 7
    Write a Palindrome Check function in JavaScript using string and array methods
    5m 33s
  8. 8
    Write anagram check function with array and string methods
    4m 52s
  9. 9
    Write a capitalize string function with array and string methods
    4m 5s
  10. 10
    Flatten nested array using recursive reduce function
    5m 33s
  11. 11
    Write a reverse integer function using string and array methods
    2m 8s

Flatten nested array using recursive reduce function

Dimitri Ivashchuk
InstructorDimitri Ivashchuk
  • javascript
    JavaScript

Share this video with your friends

Send Tweet

Recursive functions are inherently hard concept to grasp for many beginners. reduce array method shares the same title of being the hardest among the methods. Let's bring it up a notch and create a recursive reduce function that flattens a nested array in JavaScript to finally figure how both of them work!

Build your Developer Portfolio and climb the engineering career ladder.
  • Search
  • Talks
  • Podcasts
  • Machine
  • Pricing
  • Store
©egghead.io
Terms & Conditions