Go Closures: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
A closure is an anonymous function declared within a block. The function has access to the local variables for the duration of its life. | |||
More about closures is available [[Programming#Closures|here]]. | More about closures is available [[Programming#Closures|here]]. |