Prototype This page is part of the Prototype JavaScript framework documentation.
Overview | (...)

Function.bind is used to allow function references to be full object method references, through the use of extend and apply. In other words, bind creates closures. For help understanding how this works, you can review this article.

Syntax


  Function.bind( object );

I’ve had some help (in blatant copying) from HTML::Prototype::Js on CPAN on documenting this function.