Closure
Definition: internal function external function reference to a variable, the variable used in the function is called closure.
Closures must meet the following three conditions:
- There must be an inline function
- Built-in functions must reference the variables in the outer function
- External function return value must be a reference to the nested function
Decorator