4 ms·
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
by _betty_ 12y ago
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})
- _betty_ 12y agoOf course it'd be hard to insert an item into that array...