Function API

The Function global object is a constructor for function objects.

9 Total 5 Methods 4 Properties 1 Statics
  Show all

[Symbol.hasInstance]()

Method determining if a constructor object recognizes an object as its instance.f[Symbol.hasInstance]()

apply()

Calls a function with a given this value and arguments provided as an array.f.apply()

bind()

Creates a new function that, when called, has its this keyword set to the provided value.f.bind()

call()

Calls a function with a given this value and arguments provided individually.f.call()

constructor

Specifies the function that creates an object's prototype.f.constructor

length

Indicates the number of parameters expected by the function.f.length

name

The name of the function.f.name

Function.prototype

The prototype of the Function constructor.Function.prototype

toString()

Returns a string representing the source code of the function.f.toString()

bind()

method

Creates a new function that, when called, has its this keyword set to the provided value. f.bind()

You seem to be offline. App may not work.