When I use object.create to create a new object like so,
o = {x:1,y:2};
p = Object.create(o);
I'm under the impression that o becomes the prototype of p and inherits all its methods.
Then why, when I try
print(p.prototype);
the output is undefined? o is well-defined!!
Thank You