function scriptFunc() { print( this.x ); } var oSomeObject = { x: 123 }; connect( sender, signal, oSomeObject, scriptFunc );