Skip to content

Commit

Permalink
elaboration
Browse files Browse the repository at this point in the history
  • Loading branch information
hayeah committed Aug 12, 2016
1 parent 41d9e7e commit 8be8c2a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions basic/function.md
Expand Up @@ -74,6 +74,13 @@
// [2, 6]
```

相当于:

```js
[1 * 2, 2 * 3]
```


## 给函数一个名字

我们可以把函数放在一个变量里面,看起来会舒服一点, 而且也方便重复利用:
Expand Down

0 comments on commit 8be8c2a

Please sign in to comment.