I have some javascript code (within an object) :
toggle: function() { var me = this; var handler = function() { me.progress() }; me.intervalId = setI
What you have there is a closure. The function that is created and assigned to handler keeps a reference to the me object. This is normal, everyday JavaScript, and that's the way that closures work generally.
handler
me