JS是一门基于原型的语言,这意味着对象直接从其它对象继承。 对象说明符: var myObject = marker({ first:f, last:l, state:s, city:c });原型继承函数话可以实现私有,共有(没学会)部件