Closures are simply anonymous functions. They are very helpful when you want a certain functionality in your app, but you don’t want to fill your namespace with lots of code. In this example, I will be demonstrating how you can use closures to limit the number of login attempts in a user’s account.
See more at-Classmite
Is it possible to post to classmite without login 😎😎
LikeLike
no
LikeLiked by 1 person
Worst answer ever
LikeLike
Sorry for my anger with your answer, I was just upset, that’s all.
LikeLike
If I do register, then how would I delete my account?
LikeLike
Wrong information about closures.
Closure – using Free context variables, that aren’t function parameters / global variables / class variables
LikeLiked by 1 person
where did you get that info? Don’t confuse closures in javascript with php
check out the php documentation http://php.net/manual/en/functions.anonymous.php
LikeLike