Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/note/basis/func.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var fnName = function(){

```js
// 参数:Function 接收任意多的参数,但最后一个参数总被认为是函数体,前面的参数是传入新函数的参数
var fnName = new Function(a, b, c, 'return a + b + c')
var fnName = new Function('a', 'b', 'c', 'return a + b + c')
```

#### 【ES6】箭头函数
Expand Down