Typescript – Pass ‘this’ context inside For loop I want to pass the current ‘this’ context to a for loop which could iterate over an array.