All Solid Principles Javascript Interview Bit