Closures in JavaScript?
In this article we are going to cover:
Lexical Environment
Closures
Uses of Closures
function bundled together with its lexical environment is known as closures.
Lexical Environment
function a(){
var x=100;
function b(){
console....
sanketdhabarde.hashnode.dev2 min read