Conversation
There was a problem hiding this comment.
Not necessarily, but there's a bit of duplication between isArrayLike and isIterationCall that'll get worse once I propose only considering ints and not floats as proper index.
There was a problem hiding this comment.
Mind adding a test for this change
|
Please explain what this is doing, beyond what the previous "guard" flag was already doing? |
It's a more thorough check for when a |
|
Maybe an example would help clarify? I'm don't see any changed tests in this PR. |
|
For future reference, |
Stolen from lodash, used to determine if one of our underscore methods were called by
_.each,_.map, or friends.