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

bind #498

Open
601odd opened this issue Sep 4, 2023 · 0 comments
Open

bind #498

601odd opened this issue Sep 4, 2023 · 0 comments

Comments

@601odd
Copy link

601odd commented Sep 4, 2023

_mybind函数参数没有应用到必包函数里

Function.prototype._mybind = function (thisArg, ...arg1) {
let fn = this
return function (...arg2) {
return fn._myCall(thisArg, ...arg1, ...arg2)
}
}

@601odd 601odd changed the title > ```js bind Sep 4, 2023
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

1 participant