创建对象的三种方式

1、关键字
var obj = Object();

2、构造函数
var obj = new Object();

3、字面量
var obj = {};

原文地址:https://www.cnblogs.com/jsjx-xtfh/p/9457784.html