TypeScript: you can pass class method as lambda, but it will blow up
TypeScript allows passing class methods to functions that expect a lambda, but it won’t work at runtime. Consider this code: Suppose we have class Calculator like this: We can then […]