how to return the obj inside an obj code example Example: adding function to objects js var myObj = { myFunc: function(param){ //do stuff } }