Child pages
  • Function

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummarySpecifies the function that creates an object's prototype.Specifies the number of arguments expected by the function.

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidApplies the method of another object in the context of a different object (the calling object); arguments can be passed as an Array object.voidCreates a new function which, when called, itself calls this function in the context of the provided value, with a given sequence of arguments preceding any provided when the new function was called.voidCalls (executes) a method of another object in the context of a different object (the calling object); arguments can be passed as they are.Returns a string representing the source code of the function.

propertyservoy sDetail2100%height:30px2Property Detailsconstructorname

constructor

dessIndentSpecifies the function that creates an object's prototype.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow lengthname

length

dessIndentSpecifies the number of arguments expected by the function.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods Detailsapplyname

apply()

dessIndentApplies the method of another object in the context of a different object (the calling object); arguments can be passed as an Array object.ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
bindname

bind()

dessIndentCreates a new function which, when called, itself calls this function in the context of the provided value, with a given sequence of arguments preceding any provided when the new function was called.
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
callname

call()

dessIndentCalls (executes) a method of another object in the context of a different object (the calling object); arguments can be passed as they are.
ret

Returns

sIndentclients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
toStringname

toString()

dessIndentReturns a string representing the source code of the function. Overrides the Object.toString method.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow