Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

adding function to objects js

var myObj = {
	myFunc: function(param){
      //do stuff
    }
}
 
PREVIOUS NEXT
Tagged: #adding #function #objects #js
ADD COMMENT
Topic
Name
5+7 =