Question: Identify the name given to the fact that a function defined within another function ( i . e . inner function ) has access to

Identify the name given to the fact that a function defined within another function (i.e. inner function) has access to variables of the surrounding function (i.e. outer function), as depicted in the code below.
function outer(){
let test =10;
function inner(){
console. log(test);
}
}
closure
conditional
timer
script
 Identify the name given to the fact that a function defined

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!