Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Extend and Assign #2

Closed
megawac opened this issue Jun 4, 2015 · 2 comments
Closed

Extend and Assign #2

megawac opened this issue Jun 4, 2015 · 2 comments
Labels

Comments

@megawac
Copy link
Contributor

megawac commented Jun 4, 2015

Another incompatibility which should be shelled out is extend and assign

In lodash these are aliases (own behaviour) while in underscore extend iterates in keys and assign uses own properties

I favour underscore's implementation in this front as I occasionally want the selection

@jashkenas
Copy link
Contributor

I think that extend for all keys and assign for own keys is nice, and helps with upgrading. It's nice to have the choice. The downside is the namesquatting on extend, which would otherwise be useful for a great many other things.

@jdalton
Copy link
Contributor

jdalton commented Feb 13, 2016

Closed by #14.

@jdalton jdalton closed this as completed Feb 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants