i have just blogged about inheritance in Javascript, so next target would be programming to the interface.
I had two approaches in mind. The first solution is making an interface as a normal object that contains properties and methods. This object will be static and remain unchanged during the lifetime of the application. The second solution is making the interface using the same...