-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is 'Higher Order Functions' as the same as 'javascript closure'? #52
Comments
In JS, Higher Order Functions are also known as Callbacks. Concept of closures is different. |
Higher Order Functions are functions that either takes function as an argument or returns function and closure is a different concept. so what is closure ? -- closure is a power of inner function where it is able to access variables from outer function even after the outer function is returned. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In 6.2 Higher Order Functions, could you tell the difference compare to javascript closure?
For me this so called 'Higher order functions' is exactly how I understand 'closure'. If I'm right, please add 'this is what other people called closure' at the end of this section. It surely will clarify the misunderstanding.
@SamyPesse @AaronO Thank you
The text was updated successfully, but these errors were encountered: