prettify

baseline

Javascript Class Template

function Person(oInit) {
   
this.Clear();
   
if (typeof oInit === "object") { this.Init(oInit); }
   
this.Init(oInit)
}
Person.sId = "Party";
Person.sColor = "#00f";
Person.sIcon = "../img/user_suit.png";

Person.prototype.Clear = function () {
   
this.nkPer = 0;
   
this.rvPer = 0;
   
this.sPerLNm = "";
   
this.sPerEml = "";
};