this is the context, it is necessarily contextual as opposed to being lexical. The old idiom is using var self = this; in the preamble of a function that wishes to expose it’s context to functions it defines. The current idiom is using arrow functions whose context is their parent’s context
this is the context, it is necessarily contextual as opposed to being lexical. The old idiom is using var self = this; in the preamble of a function that wishes to expose it’s context to functions it defines. The current idiom is using arrow functions whose context is their parent’s context