Let\'s create an object which inherits from another anonymous object:
var obj = Object.create({ func: function () { alert(\'Inherited method\'); } });
Object.getPrototypeOf(obj).func();
will make sure the inherited function gets executed.
In older browsers (the above is ES5), you can use
obj.__proto__.func();
but this is deprecated.
http://jsfiddle.net/pimvdb/PLxHB/5/