how to bind setInterval in js code example Example: js this binding setinterval setInterval( this.tick.bind(this), 1000 );