2017年6月22日

JS中来创建对象的方法--(一闪而过)

摘要: <body><script type="text/jscript"> //使用new来创建 var stu=new Object(); stu.name="小明"; stu.age=20; stu.add="海淀区"; stu.show=function (){ alert("姓名:"+this.n 阅读全文

posted @ 2017-06-22 20:25 安之若熙 阅读(154) 评论(0) 推荐(0) 编辑

导航