DEV Community

Discussion on: Anonymous Recursion in JavaScript

Collapse
 
bitwiselover profile image
undefined

That is absolutely correct, a closure has access to the function environment (scope) of it's parent. A higher-order function can be described as a function that accepts a function as an argument and/or returns a function.