On Wed, May 2, 2012 at 6:07 PM, Andreas Rossberg <[email protected]>wrote:

> (function() { <script-text> }).call(implicitThisObj)
>

See also Function.apply(). The only difference between apply() and call()
is how the 2nd+ argument(s) are passed to it:

myFunc.call( myObj, 1, 2 );
===
myFunc.apply( myObj, [1, 2] );

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to