Pergunta de entrevista da empresa Sitemate

Small JS/TS problem, OOP principles, Software principles and patterns (2nd round)