__proto__ VS. prototype in JavaScript http://dmitrysoshnikov.com/ecmascript/javascript-the-core/#a-prototype-chain // a constructor function function Foo(y) { // which may create objects // by specified pattern: they have after // creation own "y&quo…