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