how to add a function to the function object in javascript code example
Example: adding function to objects js
var myObj = {
myFunc: function(param){
//do stuff
}
}
var myObj = {
myFunc: function(param){
//do stuff
}
}