Here is an object:
var obj = new function(){
this.prop = {};
}
and I try to do something like:
obj.prop.prototype["new_attr"] = "some_value";
What I'd like to do, is permanently modify obj.prop to contain the new attributes. From what I understood, all "Objects" had the prototype, but JavaScript is telling me prop doesn't have prototype.
Maybe I'm taking the wrong approach (in trying to permanently modify prop), but I'd at least like to know why the code above doesn't work.