how to call function dynamically in typescript code example Example: call function dynamically typescript var functionName = 'myFunction'; this[functionName]();