安裝中文字典英文字典辭典工具!
安裝中文字典英文字典辭典工具!
|
- What does the exclamation mark do before the function?
function foo() {} Note that there’s no semicolon; this is just a function declaration You would need an invocation, foo(), to actually run the function Now, when we add the seemingly innocuous exclamation mark: !function foo() {} it turns it into an expression It is now a function expression
|
|
|