OpenTable interview question

JavaScript OOP design patterns