by Hugo Di Francesco

How to impress interviewers by using recursion in JavaScript with ES6 features

Andre Mouton on Unsplash

There’s nothing as flashy and useful for JavaScript interviews than recursion.

If you just want to be impressive with recursion in JavaScript, here are some semi real-world (technical test type) examples.

The short definition of a recursive solution to a problem (in computer science) is: don’t use…