KeepCalling interview question

Questions regarding OOP and Javascript