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

edit function/bind operator

This commit is contained in:
ruanyf 2015-11-30 12:08:15 +08:00
parent 1228e708a5
commit 1ed8d1d915

View File

@ -977,10 +977,10 @@ var fix = f => (x => f(v => x(x)(v)))
```javascript
foo::bar;
// 等同于
bar.call(foo);
bar.bind(foo);
foo::bar(...arguments);
i// 等同于
// 等同于
bar.apply(foo, arguments);
const hasOwnProperty = Object.prototype.hasOwnProperty;