• Similar to Object.assign but will avoid replacing existing values of object type. Only primitives and nested primitives are assigned.

    A getter function may be used to retrieve existing target properties in cases where we want some indirection.

    Parameters

    Returns any

    Example