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>

 

posted @ 2017-09-07 15:57  alan-alan  阅读(189)  评论(0编辑  收藏  举报