hello

guardate sto snippet

function Foo(){};

var proto = Foo.prototype;

for (p in proto) {
alert(proto[p]); // non stampa niente: il prototype sembra vuoto
}

pero se faccio

alert(proto.constructor) // mi stampa Foo()

allora mi sono detto: vabbe ... si vede che e' un "link" al construttore e niente piu'

Pero' se faccio:

proto.hasOwnProperty("constructor")

ottengo un rassicurante e INCOSISTENTE true

che dite?