Function contextify

  • Contextify a function by accepting the first parameter as this-object. 📘

    Parameters

    • x: Function

      a function

    Returns Function

    (...args) => x(this, ...args)

Generated using TypeDoc