function myexplorer(){ var explorer = window.navigator.userAgent; if (!!window.ActiveXObject || "ActiveXObject" in window){//IE if (!window.XMLHttpRequest){ return myexplorer="IE"; //IE6 }else if (window.XMLHttpRequest && !docu
数组相关方法 concat 用来连接多个数组 <script> var a = [1,2,3]; var b = [3,4,5]; var c = a.concat(b); console.log(c); // [1,2,3,3,4,5,] </script> concat join 把数组元素拿出来,根据指定的符号连接成一个字符串 <script> var a = [1,2,3]; var b = a.join('|'); console.log(b); // 1|