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

Add _.keysIn method #1910

Merged
merged 1 commit into from
Nov 8, 2014
Merged

Add _.keysIn method #1910

merged 1 commit into from
Nov 8, 2014

Conversation

jamiebuilds
Copy link
Contributor

From this thread.

_.keysIn is the alternate to _.keys not just limited to own-properties, which can be useful internally and externally so people can create their own mixins.

I only targeted the most common cases I could think of here. Hopefully @jdalton can shine some light on all the different edge cases Lodash's _.keysIn covers.

@megawac megawac mentioned this pull request Oct 26, 2014
'toLocaleString': undefined,
'propertyIsEnumerable': /a/,
'isPrototypeOf': this,
'__defineGetter__': Boolean,
Copy link
Contributor

Choose a reason for hiding this comment

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

Legacy getter/setter properties are out of scope.

@megawac megawac added this to the v2.0 milestone Nov 3, 2014
@jamiebuilds
Copy link
Contributor Author

Rebased and squashed

@jamiebuilds jamiebuilds force-pushed the keysIn branch 2 times, most recently from 57dfed7 to ab2d026 Compare November 8, 2014 20:39
megawac added a commit that referenced this pull request Nov 8, 2014
@megawac megawac merged commit 5bced64 into jashkenas:master Nov 8, 2014
@jamiebuilds jamiebuilds deleted the keysIn branch November 8, 2014 20:50
@jashkenas jashkenas added fixed and removed fixed labels Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants