Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure apply is not called with undefined.
Fixes a bug in IE8 Fixes #2225
- Loading branch information
be6f1b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side thought: Why not do
value = params ? value.apply(context, params) : value.call(context)
? Might get a little speed boost.be6f1b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah good call @jridgewell not opposed to that at all
want to open a PR into minor?
the goal here was really to get a patch fix out and we can iterate on the "fix"
👍 good call