API Docs for: 0.0.1
Show:

Function Class

Module: lib/function.js
Parent Module: js-ext

Pollyfils for often used functionality for Functions Copyright (c) 2014 ITSA - https://github.com/itsa New BSD License - http://choosealicense.com/licenses/bsd-3-clause/

Item Index

Methods

Methods

rbind

(
  • [context]
  • [args*]
)
Function

Sets the context of which the function will be execute. in the supplied object's context, optionally adding any additional supplied parameters to the end of the arguments the function is executed with.

Parameters:

  • [context] Object optional

    the execution context. The value is ignored if the bound function is constructed using the new operator.

  • [args*] Any optional

    args* 0..n arguments to append to the end of arguments collection supplied to the function.

Returns:

Function:

the wrapped function.