Question: When a function takes a closure as a parameter, when do you want to mark is as escaping?
- when it's executed after the function returns
- when it's scope is undefined
- when it's lazy loaded
- all of these answers
Answer: The correct answer of the above question is Option A:when it's executed after the function returns