Update article.md
This commit is contained in:
parent
88120708b1
commit
c039f04ef9
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ So these two calls are almost equivalent:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
func.call(context, ...args); // pass an array as list with spread syntax
|
func.call(context, ...args); // pass an array as list with spread syntax
|
||||||
func.apply(context, args); // is same as using apply
|
func.apply(context, args); // is same as using call
|
||||||
```
|
```
|
||||||
|
|
||||||
There's only a minor difference:
|
There's only a minor difference:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue