V
Vic Sowers
If I do this:
function MyObject() {
this.MyFunc = function () {alert("MyFunc called");}
}
obj1 = new MyObject();
obj2 = new MyObject();
do I get two copies of the code inside MyFunc?
function MyObject() {
this.MyFunc = function () {alert("MyFunc called");}
}
obj1 = new MyObject();
obj2 = new MyObject();
do I get two copies of the code inside MyFunc?