js创建对象的几种方法1.对象字面量。var clock={hour:12,minute:10,second:10,showTime:function(){alert(this.hour+":"+this.minute+":&quo2023-02-18JavaScript360