You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here the return value of invoking new (and [[Construct]]) on the bound function should be that the new instance is returned, not the return value of the bound function.
Again see es5-shim for implementation.
The text was updated successfully, but these errors were encountered:
https://es5.github.com/#x15.3.4.5
https://es5.github.com/#x15.3.4.5.2
https://es5.github.com/#x13.2.2
Basically your code always returns the return value of the bound function and doesn't handle cases like
Here the return value of invoking
new
(and[[Construct]]
) on the bound function should be that the new instance is returned, not the return value of the bound function.Again see es5-shim for implementation.
The text was updated successfully, but these errors were encountered: