Month: March 2017

Closures in javascript

Closures in javascript

Closures is a very important concept in javascript which you will find mentioned almost everywhere. Closures help you in achieving a wide range of features.

What is a closure?

Closure is a concept in which one function is enclosed within another function. This inner function has access to the outer functions variables and parameters. It has access to its own variables and parameters as well as the global variables. However it does not have access to the outer functions ‘this’ object and the arguments object.

Read More Read More