All Solid Principles Javascript Interviewbit