![](/img/trans.png)
[英]What is the difference between (function(){})(); and (function(){}());?
[英]What is the difference between function and Function
function
和Function
什么区别?
function
是用于定义函数的语言关键字。
Function
是代表所有功能的内置原型object。
请参阅以下教程以获取详细信息
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope
Function 构造函数,function 表示方法
Go 通过本教程
Defining functions
The Function constructor
https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.