Skip to content

Commit

Permalink
Clarify use of bind operator in "prefix position" (#5917)
Browse files Browse the repository at this point in the history
  • Loading branch information
wearhere authored and loganfsmyth committed Jul 4, 2017
1 parent 9ad660b commit 72183ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/babel-plugin-transform-function-bind/README.md
Expand Up @@ -9,13 +9,17 @@ obj::func
// is equivalent to:
func.bind(obj)

::obj.func
// is equivalent to:
obj.func.bind(obj)

obj::func(val)
// is equivalent to:
func.call(obj, val)

::obj.func(val)
// is equivalent to:
func.call(obj, val)
obj.func.call(obj, val)
```


Expand Down

0 comments on commit 72183ff

Please sign in to comment.