Function
the object to be processed
the dictionary for renaming (false value indicates removal of the named property)
Process properties in place by removing and renaming them.
Properties of an object are to be renamed or removed specified by "map" argument. Only own properties of "map" are processed.
Object: the original object
Object
oo.rearrange(bag, { abc: "def", // rename "abc" attribute to "def" ghi: null // remove/hide "ghi" attribute });
Object
Object
Object
Object