1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

docs(function): fix typo

This commit is contained in:
ruanyf 2018-01-06 16:34:23 +08:00
parent 6807435578
commit 796501b264

View File

@ -944,7 +944,7 @@ let log = ::console.log;
var log = console.log.bind(console);
```
双冒号运算符的运算结果,还是一个对象,因此可以采用链式写法。
双冒号运算符的运算结果,还是一个函数,因此可以采用链式写法。
```javascript
// 例一