get values of object instead of reference to when defining new object code example
Example: adding function to objects js
var myObj = {
myFunc: function(param){
//do stuff
}
}
var myObj = {
myFunc: function(param){
//do stuff
}
}