JavaScript 中,定义函数时用 var foo = function () {} 和 function foo() 有什么区别? https://www.zhihu.com/question/19878052