Although .__proto__ important, obviously there is a way to hide things from the console. This is demonstrated when trying to do:
for (var i in function.prototype) { console.log(i+": "+function.prototype[i].toString()) }
There will be some things that are not logged into the console, and I think this is exactly what this topic is about (IMO answers should allow all prototypes so that anyone who visits this section can use it).
Also: __proto__ not a constructor. This is the object of the object with the highest priority. It is important that you do not remove proto and do not leave it alone, because if there is a method that uses JavaScript, then it all comes to shit. For the constructor, look obj.constructor , it is not a screw with all the damn thing, and it could just be what he called, constructor, imagine that.
source share