< p >“function”和“Function”的区别是什么?
function
是一种语言关键字,用于定义函数。
Function
是内置的原型对象,代表所有函数。
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope
函数构造器,函数意味着方法。请仔细阅读本教程
Defining functions
The Function constructor
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope