Skip to content

Commit 1ed8d1d

Browse files
committed
edit function/bind operator
1 parent 1228e70 commit 1ed8d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,10 +977,10 @@ var fix = f => (x => f(v => x(x)(v)))
977977
```javascript
978978
foo::bar;
979979
// 等同于
980-
bar.call(foo);
980+
bar.bind(foo);
981981

982982
foo::bar(...arguments);
983-
i// 等同于
983+
// 等同于
984984
bar.apply(foo, arguments);
985985

986986
const hasOwnProperty = Object.prototype.hasOwnProperty;

0 commit comments

Comments
 (0)