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

Issue 37 slice binding #38

Merged
merged 2 commits into from
Oct 26, 2019
Merged

Issue 37 slice binding #38

merged 2 commits into from
Oct 26, 2019

Conversation

planttheidea
Copy link
Owner

Resolves #37

@@ -14,7 +14,7 @@ import {
} from './utils';

const { isArray } = Array;
const slice = Function.prototype.bind.call(Function.prototype.bind, Array.prototype.slice);
const slice = Function.prototype.bind.call(Function.prototype.call, Array.prototype.slice);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix, the first param to this bind.call should be Function.prototype.call.

@planttheidea planttheidea merged commit 32b37c6 into master Oct 26, 2019
@planttheidea planttheidea deleted the issue-37-slice-binding branch October 26, 2019 11:25
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

Successfully merging this pull request may close these issues.

setWith extraArgs
1 participant