Skip to content

Commit

Permalink
Update 函数 Function.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twhy authored Jul 5, 2017
1 parent 30e488b commit 056c864
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions JavaScript/函数 Function.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
* `console.log()`

## IIFE
IIFE 全称 Immediately-Invoked Function Expression,**立即执行的函数表达式**
IIFE 全称 Immediately-Invoked Function Expression,译作**立即执行の函数表达式**
```javascript
(function() {
 console.log('立即执行🚀');
})();
```

## 箭头函数 Arrow Function
`ES6`
Expand All @@ -30,4 +35,4 @@ IIFE 全称 Immediately-Invoked Function Expression,**立即执行的函数表
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions
* https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Functions
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters

0 comments on commit 056c864

Please sign in to comment.