JavaScript总结(一)

//          有个数组 元素"a","b","d","b","c","d" 去掉重复元素
            var arr = new Array();
            arr[0] = "a";
            arr[1] = "b";
            arr[2] = "d";
            arr[3] = "b";
            console.log(arr);
            var arr2 = new Array();
            for(var i = 0;i



    
        旋转动图
        
        
    

    
        

你可能感兴趣的:(JavaScript总结(一))