参考https://www.cnblogs.com/shirliey/p/11696412.html
1、new 操作符 + Object 创建对象
2、字面式创建对象
3、工厂模式
4、构造函数模式
5、原型模式
6、混合模式(构造函数模式+原型模式)