README
Removes first entry. :running: :vhs: :package: :moon: :ledger:
Alternatives: shift, shift$.
This is part of package extra-object.
This is browserified, minified version of @extra-object/shift-update.
It is exported as global variable object_shift$.
CDN: unpkg, jsDelivr.
object.shift$(x);
// x: an object (updated)
// --> x
const object = require('extra-object');
var x = {a: 1, b: 2, c: 3};
object.shift$(x);
// { b: 2, c: 3 }
x;
// { b: 2, c: 3 }
object.shift$(x);
// { c: 3 }