LambdaFunction

constructor(scope: Scriptable, name: String, length: Int, target: SerializableCallable?, defaultPrototype: Boolean = true)(source)

defaultPrototype gives the new function a prototype property of its own.


constructor(scope: Scriptable, name: String, length: Int, prototype: Any?, target: SerializableCallable?)(source)


constructor(scope: Scriptable, length: Int, target: SerializableCallable)(source)

A built-in function: no name, no prototype of its own.