Thursday, March 14, 2019

Closures In JavaScript Explained Simply

Closure is a computer science term that defines how a function can maintain a record of the environment in which it was called. This means that a function can keep track of the arguments and variables it was initially called with, even when it’s called outside of that scope.

source https://www.c-sharpcorner.com/Blogs/closures-in-javascript-explained-simply

No comments:

Post a Comment