|
|
|
3
This is the prototype for adding property getter and setter for any Javascript class. The construction and usage of the getter and setter methods allows the "chainability" of methods in one line. Detail discussion can be found inOne line properties setter and getter for Javascript class
3
Add property to Javascript Obj in "jQuery Style", see detail:here







