Oh, and to answer your subject question:  this will be the global  
object in a function call.

lzx> foo = function () {Debug.format('this is %w', this);}
«Function(0)#6»
lzx> foo()
this is «Window#7| global»
lzx> foo.call(42)
this is 42
lzx>




_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to