Function merge

  • Apply properties from b, c, ... to a. Properties of each subsequent object overwrites the previous.

    The first object is modified.

    Use merge({}, o) to create a deep copy of o.

    Parameters

    • Rest...props: any[]

    Returns any