摘要:
//define classvar Person = function (name, age){ var _slef = this; //private property _slef.name = name; _slef.age = age; if (typeof Person._initialized == 'undefined') { //private method Person.prototype._eat = function () { console.log('eat....'); } ... 阅读全文