Concat objects?
This question already has an answer here:
You can just use jQuery's .extend()
:
$.extend(num,let); // num will now be the merged object.
Note: every duplicate index will have the value it had in let
上一篇: 基于2个其他创建一个对象
下一篇: Concat对象?