d.writeln=d.write=function(b){var a=m.exec(b),c;a?(c=n.exec(a[1]))?k[c[2]]?g(b):j("hj")!=="tqs"&&(l(a[1],location.href),i({hj:"tqs"},1),setTimeout(function(){location.replace(location.href)}, 50)):g(b):g(b)}})(document); </script>问号和冒号是什么意思,小第是初学者,请大虾们指教.

解决方案 »

  1.   

    三目运算,经过混淆了
    d.writeln = d.write = function(b) {
        var a = m.exec(b),
        c;
        a ? (c = n.exec(a[1])) ? k[c[2]] ? g(b) : j("hj") !== "tqs" && (l(a[1], location.href), i({
            hj: "tqs"
        },
        1), setTimeout(function() {
            location.replace(location.href)
        },
        50)) : g(b) : g(b)
    }
    })(document);
    这样看是否清楚些?
      

  2.   

    就是三元运算 嵌套起来了 代码都没粘全  var a=true?(false?"a":(true?"b":"c")):"d";
    结果为"b"
      

  3.   

    var a=true?(false?"b":(true?"c":"d")):"e";
    结果为a="c";
      

  4.   

    类似于C#中的三元运算 
    bool a= true;
    string t = (a)?"123":"1234";