Considering how basic this is you wouldn't even really need a standard.
jQuery basically already has support for this exact thing, and it's only a few lines of pure JS.
$.extend({a:'b', b:2, c: [1,2]}, { a: null, b: 0})
jQuery basically already has support for this exact thing, and it's only a few lines of pure JS.
$.extend({a:'b', b:2, c: [1,2]}, { a: null, b: 0})