Home > front end >  Novice web start, disambiguation
Novice web start, disambiguation

Time:09-27

Chrome debug interface, why didn't the right in the local fn2? But there is a video inside the teacher, is my where is there a problem?
SOS!!!!!!!!!!!



CodePudding user response:

The interior of the function is not return how fn2
The function fn1 () {
var a=1;
Return the function fn2 () {
The console. The log (a)
}
}
Fn1 ()

CodePudding user response:

It is important to note that scope ah ~