Simples demos of various design patterns in javascript and typescript.
Generally, I will choose to implement a pattern in javascript if I see a good way to use javascript for it. If not, I will go with typescript since it provides a nice OOP layer to javascript.