Javascript has started supporting Tail Call optimisation. This means that we no longer have to worry about memory consumption or stack overflow when choosing recursion over iteration, of course you have to make sure you write your recursion in a way which can be Tail Call optimised.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Javascript has started supporting Tail Call optimisation. This means that we no longer have to worry about memory consumption or stack overflow when choosing recursion over iteration, of course you have to make sure you write your recursion in a way which can be Tail Call optimised.