All Questions
1 question
7
votes
2
answers
4k
views
Every function is a closure?
Wikipedia says, that closure - is a function, which has an access to variables, declared outside of the function. There is even an example:
function startAt(x)
function incrementBy(y)
...