• Sets the prototype of a specified object o to object proto or null. Returns the object o.

    Parameters

    • o: any

      The object to change its prototype.

    • proto: null | object

      The value of the new prototype or null.

    Returns any