Developer tools display a variable a, which is a variable that points to an anonymous function / close.
In javascript, a function is defined in scope and can also determine a scope by its body block. A region “knows” all the variables inside the defining block and all variables defined outside the function, but in the hierarchy of regions in which the scope is defined.
Tools display the volume of the returned function ( a
in this case). The function first
defined in the framework of the function a
.
The variable first
also known in the realm of the anonymous function assigned to the variable first
.
And this is what you get on the screen: first
is a variable containing a function. Within this function, the variable first
known, which points to the function. As part of this function ...
You see?
source share