3 ms·
> Or we can set this explicitly using Function#call (or Function#apply), as shown at the end of the example. Or we can define a variable self in the class, set
by bbcbasic 11y ago
> Or we can set this explicitly using Function#call (or Function#apply), as shown at the end of the example.
Or we can define a variable self in the class, set self = this in the constructor, and refer or that hereon.