var obj1 = new Object(); // 创建了一个空的对象 obj1.uname = '李四'; obj1.age = 18; obj1.sex = '男'; obj1.sayHi = function() { console.log('hei'); }