js对象-demo
电话条java小程序
js对象
<script> function Lcc(umLcc,logState,connectFlag){ this.umLcc= umLcc; this.agentId = umLcc.split(";")[1]; this.logState= logState; this.connectFlag= connectFlag; }; Lcc.prototype ={ constructor:Lcc, demo:function(){ alert(this.agentId); }, // demo:function(){}, } </script>