The Function constructor creates a new Function object. Calling
constructor directly can create functions dynamically, but suffers
security and similar (but far less significant) performance issues
js.eval
. However, unlike eval, the Function constructor creates
which execute in the global scope only.
The Function constructor creates a new Function object. Calling constructor directly can create functions dynamically, but suffers security and similar (but far less significant) performance issues `js.eval`. However, unlike eval, the Function constructor creates which execute in the global scope only.
(apply this & args)
Method.
The apply() method calls a function with a given this value, arguments provided as an array (or an array-like object).
function.apply(thisArg, [argsArray])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
Method. The apply() method calls a function with a given this value, arguments provided as an array (or an array-like object). `function.apply(thisArg, [argsArray])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply`
(arguments this)
Property.
The function.arguments property refers to an an array-like object to the arguments passed to a function. Use the simple variable instead. This property is forbidden in strict model.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments
Property. The function.arguments property refers to an an array-like object to the arguments passed to a function. Use the simple variable instead. This property is forbidden in strict model. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments`
(arity this)
Property.
The arity property used to return the number of arguments expected
the function, however, it no longer exists and has been replaced
the Function.prototype.length
property.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arity
Property. The arity property used to return the number of arguments expected the function, however, it no longer exists and has been replaced the `Function.prototype.length` property. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arity`
(bind this & args)
Method.
The bind() method creates a new function that, when called, has this keyword set to the provided value, with a given sequence arguments preceding any provided when the new function is called.
function.bind(thisArg[, arg1[, arg2[, ...]]])
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
Method. The bind() method creates a new function that, when called, has this keyword set to the provided value, with a given sequence arguments preceding any provided when the new function is called. `function.bind(thisArg[, arg1[, arg2[, ...]]])` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind`
(call this & args)
Method.
The call() method calls a function with a given this value and provided individually.
function.call(thisArg, arg1, arg2, ...)
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call
Method. The call() method calls a function with a given this value and provided individually. `function.call(thisArg, arg1, arg2, ...)` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call`
(caller this)
Property.
The function.caller property returns the function that invoked specified function. This property is forbidden in strict mode.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller
Property. The function.caller property returns the function that invoked specified function. This property is forbidden in strict mode. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller`
(display-name this)
Property.
The function.displayName property returns the display name of function.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/displayName
Property. The function.displayName property returns the display name of function. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/displayName`
(is-generator this)
Method.
The non-standard isGenerator() method used to determine whether not a function is a generator. It has been removed from Firefox with version 58.
fun.isGenerator()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/isGenerator
Method. The non-standard isGenerator() method used to determine whether not a function is a generator. It has been removed from Firefox with version 58. `fun.isGenerator()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/isGenerator`
(length this)
Property.
The length property indicates the number of parameters expected the function.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length
Property. The length property indicates the number of parameters expected the function. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length`
(name this)
Property.
A js.Function
object's read-only name property indicates the
name as specified when it was created, or "anonymous" for functions
anonymously.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name
Property. A `js.Function` object's read-only name property indicates the name as specified when it was created, or \"anonymous\" for functions anonymously. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name`
(prototype this)
Property.
The Function.prototype property represents the js.Function
object.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype
Property. The Function.prototype property represents the `js.Function` object. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype`
(set-arguments! this val)
Property.
The function.arguments property refers to an an array-like object to the arguments passed to a function. Use the simple variable instead. This property is forbidden in strict model.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments
Property. The function.arguments property refers to an an array-like object to the arguments passed to a function. Use the simple variable instead. This property is forbidden in strict model. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments`
(set-arity! this val)
Property.
The arity property used to return the number of arguments expected
the function, however, it no longer exists and has been replaced
the Function.prototype.length
property.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arity
Property. The arity property used to return the number of arguments expected the function, however, it no longer exists and has been replaced the `Function.prototype.length` property. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arity`
(set-caller! this val)
Property.
The function.caller property returns the function that invoked specified function. This property is forbidden in strict mode.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller
Property. The function.caller property returns the function that invoked specified function. This property is forbidden in strict mode. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller`
(set-display-name! this val)
Property.
The function.displayName property returns the display name of function.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/displayName
Property. The function.displayName property returns the display name of function. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/displayName`
(set-length! this val)
Property.
The length property indicates the number of parameters expected the function.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length
Property. The length property indicates the number of parameters expected the function. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length`
(set-name! this val)
Property.
A js.Function
object's read-only name property indicates the
name as specified when it was created, or "anonymous" for functions
anonymously.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name
Property. A `js.Function` object's read-only name property indicates the name as specified when it was created, or \"anonymous\" for functions anonymously. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name`
(set-prototype! this val)
Property.
The Function.prototype property represents the js.Function
object.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype
Property. The Function.prototype property represents the `js.Function` object. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype`
(to-source this)
Method.
The toSource() method returns a string representing the source of the object.
function.toSource();
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/toSource
Method. The toSource() method returns a string representing the source of the object. `function.toSource();` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/toSource`
(to-string this)
Method.
The toString() method returns a string representing the source of the function.
function.toString()
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/toString
Method. The toString() method returns a string representing the source of the function. `function.toString()` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/toString`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close