Your mixIn implementation short-circuits on falsey arguments, which I doubt was intentional.
For example, in the following code, the target object will not contain a username property because the preceding argument being null short-circuited the copying loop:
Regarding: https://github.com/millermedeiros/amd-utils/blob/master/src/object/mixIn.js
Your
mixIn
implementation short-circuits on falsey arguments, which I doubt was intentional.For example, in the following code, the target object will not contain a
username
property because the preceding argument beingnull
short-circuited the copying loop:Patched version: