Shallowly merges an object into 'objToMergeInto, overriding the properties of objToMergeInto` in case of conflict.
, overriding the properties of
import * as P from "flurp/pojo";const mergeIntoXZ = P.mergeInto({ x: 2, z: 4 });mergeIntoXZ({ x: 3, y: 5 }); // { x: 3, y: 5, z: 4 }
Shallowly merges an object into 'objToMergeInto
, overriding the properties of
objToMergeInto` in case of conflict.Example