How to refer object inside nested method
<p>Have following code.</p>

<pre><code>object.waypoint=function () {
    this.uw=setInterval( function() {
       console.log(this);
    }, 200);
}
</code></pre>

<p>How do I refer to "object" inside function on line three, I tried it with "this" keyword but it doesn't seem to refer the object.</p>
