What is the difference between function and Function
What 开发者_如何转开发is the difference between function
and Function
?
function
is a language keyword used to define functions.
Function
is the builtin prototype object that represents all functions.
See the following tutorial to get the detail information
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope
Function constructor, function means method
Go through this tutorial
Defining functions
The Function constructor
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope
精彩评论