Hi,
So, I got this object
It works just fine. Now I would like to make a new object (JSON) that expands myObj.
How do I do that? If it can be done.
Thanks
So, I got this object
Code:
var myObj = {
init : function() {
this.name = 'Master!';
this.run();
} ,
run : function() {
alert('Hello '+this.name);
}
}
It works just fine. Now I would like to make a new object (JSON) that expands myObj.
How do I do that? If it can be done.
Thanks