create an object with a function in it code example
Example 1: adding function to objects js
var myObj = {
myFunc: function(param){
//do stuff
}
}
Example 2: how to make new paruser object
ParseUser parseuser = new ParseUser(); // It's just a simple class object