Quoting from an article written by Mark McDonnell:
In JavaScript there are no true "classic" Object-Oriented features,
but through clever usage of the language you can emulate an Interface
for use with a JavaScript API.
See the following for the complete article:
http://www.javascriptbank.com/how-implement-interfaces-in-javascript.html