3 ms·
TypeScript's ES6 lambdas are actually closures over `this` as well, the compiler will insert `var _self = this;` in the enclosing scope if you have a lambda. Y
by lucian1900 13y ago
TypeScript's ES6 lambdas are actually closures over `this` as well, the compiler will insert `var _self = this;` in the enclosing scope if you have a lambda.
Yeah, you do have to know JavaScript, since TypeScript only adds a few ES6 features and types.