DEV Community

Discussion on: Functional programming in Javascript

Collapse
 
stereobooster profile image
stereobooster

since es6 js engines support tail call optimization allowing you to have proper recursion

yes it is part of spec, but not supported by browsers. See: