Closures Let’s see a code snippet first function x(){ var a = 7; function y(){ console.log(a); } y(); } x(); When we will run this program we know that the output is going to be 7 because when we are trying to access a from t...
techstack-tales.hashnode.dev5 min read
No responses yet.