日期:2014-05-16  浏览次数:20329 次

js 新手求解
_cookie.setCookie("ts_uid", !0) 这句中的 !0是什么意思 这个参数是怎么来的。



完整Js

run: function() {
            var e, t, n;
            e = (new Date).getTime(),
            _cookie.init(),
            this.url.push(this.getDomainInfo()),
            this.coverCookie(),
            _cookie.setCookie("ssid"),
            _cookie.save(),
            this.url.unshift("http://pingfore." + this.getCookieSetDomain(_curDomain) + "/pingd?"),
            this.url.push(this.getRefInfo(_params));
            try {
                navigator.cookieEnabled ? this.url.push("&pvid=" + _cookie.setCookie("pgv_pvid", !0)) : this.url.push("&pvid=NoCookie")
            } catch(r) {
                this.url.push("&pvid=NoCookie")
            }
            this.url.push(this.getMainEnvInfo()),
            this.url.push(this.getExtendEnvInfo()),
            _pgvVersion && (pgvGetColumn(), pgvGetTopic(), this.url.push("&column=" + Tcss.column + "&subject=" + Tcss.subject), tracert()),
            this.url.push("&vs=" + _ver),
            _cookie.setCookie("ts_uid", !0),
            t = (new Date).getTime(),
            _ext.push("tm=" + (t - e)),
            _ch && _ext.push("ch=" + _ch),
            _params.extParam ? n = _params.extParam + "|": n = "",
            this.url.push("&ext=" + escape(n + _ext.join(";"))),
            this.url.push("&hurlcn=" + escape(_hurlcn.join(";"))),
            this.url.push("&rand=" + Math.round(Math.random() * 1e5)),
            typeof _speedMark == "undefined" ? this.url.push("&reserved1=-1") : this.url.push("&reserved1=" + (new Date - _speedMark));
        &n