Design Patterns With TypeScript Examples: Factory Method The Factory Method helps to program to an interface, not an implementation. Continue reading on JavaScript in Plain English ยป Click here to read the article