filmov
tv
Javascript closures
Показать описание
#shorts #js #closures
A closure is a function that returns another function. Since in javascript every function has access to the parent variables but the parent does not have access to the child variables. It allows us to create scoped variables.
follow me on twitter:
check out my website:
A closure is a function that returns another function. Since in javascript every function has access to the parent variables but the parent does not have access to the child variables. It allows us to create scoped variables.
follow me on twitter:
check out my website: