QDN : method vs property of type function in JS/TS class

Quick Developer Note : the difference between declaring a method and declaring a function as a property in a TypeScript or JavaScript class