I have a class like:
function run(){ this.interval; this.start = function(){ this.interval = setInterval(\'this.draw()\',1000); }; this.draw = function()
The bind() method!
See the following example in ES6: