Почему результат работы машинописных делегатов не равен:
someProperty: any;
someActionsWithItems(item: any) {
this.someProperty = "test";
}
//if I use this. Its OK.:
this.array.forEach(item => this.someActionsWithItems(item));
// But another. It will be error because context 'this' isn't initialize (Cannot set property 'someProperty' of undefined):
this.array.forEach(this.someActionsWithItems);
Почему ???