Similarly, if you make a static function, it won't have access to the class instance via this because in order to call the static function, you're not calling color.function() but Color.function() - and Color is the class, but color is the class instance.

If you call another function - especially with setTimeout/setIntervalthis can get reset: