//定义js类
var enterprise=Class.create();
enterprise.prototype = {
?? initialize:function(name,px,py,tel,addr)
?? {
??? this.name = name;
??? this.px=px;
??? this.py=py;
??? this.tel=tel;
??? this.addr=addr;
?? },
?? show:function()
?? {
??? alert(this.name+","+this.px+","+thi
类别: Javascript? 查看评论