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 ie inner function has access to variables of the surrounding function ie outer function as depicted in the code below.
function outer
let test ;
function inner
console. test;
closure
conditional
timer
script
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
