• Convenient function to construct new [[Function]].

    Parameters

    • name: string

      function name

    • Rest ...args: any[]

      function arguments

    Returns Function