![](/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.