Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function.prototype.toMethod #27

Closed
hax opened this issue Nov 4, 2014 · 4 comments
Closed

Function.prototype.toMethod #27

hax opened this issue Nov 4, 2014 · 4 comments

Comments

@hax
Copy link

hax commented Nov 4, 2014

最近新增的特性:https://people.mozilla.org/~jorendorff/es6-draft.html#sec-function.prototype.tomethod

@ruanyf
Copy link
Owner

ruanyf commented Nov 9, 2014

在下面网址看到一个例子,但还是没完全明白toMethod方法的作用,等更多的解释出来。

https://esdiscuss.org/topic/any-tomethod-use-case

@hax
Copy link
Author

hax commented Nov 10, 2014

简单讲,toMethod是动态绑定super。

@ruanyf
Copy link
Owner

ruanyf commented Nov 11, 2014

目前,我的理解是,toMethod()是把一个方法动态绑定到一个对象上,暂时没有想到设计这样一个函数的目的。希望后面会有教程出来。

@ruanyf ruanyf closed this as completed Jan 7, 2016
@hax
Copy link
Author

hax commented Jan 10, 2016

后来好像被取消了。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants