A closure is a function, whose return value depends on the value of one or more variables declared outside this function.
闭包是捕获函数外部变量的绑定,且返回值依赖于外部定义的变量的函数
f是个闭包,依赖于外部变量outer