We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var a = { "pt": { "common": { "a": 1, "c": 3 } } }; var b = { "pt": { "common": { "a": 2, "d": 3 } } } console.log(mixin(a, b))
结果显示
The text was updated successfully, but these errors were encountered:
默认复制des上不存在而src上存在的属性,会忽略掉des上已经存在的属性,要强制覆盖需要:
console.log(mixin(a, b, true));
Sorry, something went wrong.
No branches or pull requests
结果显示
The text was updated successfully, but these errors were encountered: