class的私有方法跟公有方法
//类的私有方法与公有方法function Foo(name) { function private() { console.log('私有方法') } private() this.name = name this.getName = function () { console.log('公有方法',this.name)...