Function getPrototypeOf

  • Returns the prototype of an object.

    Parameters

    • target: object

      The object that references the prototype.

    Returns object | null