Closures in JavaScript
Scoping of variables
JavaScript is a single threaded language that means single context will be created of a particular piece of code(variable, function, code block).
var a = 100;
function outer(){
var a = 20;
var b = 40;
console.log(...
siddhantsiddh15.hashnode.dev3 min read