不用构造函数(constructor)new关键字也能实现javascript的面向对象