Function apply

  • Invoke a function with specified this-object, and arguments provided as an array.

    Parameters

    • x: Function

      a function

    • ths: any = null

      this object to invoke with

    • args: any[]

      arguments array

    Returns any

    this.x(...args)

Generated using TypeDoc