240 发简信
IP属地:上海
  • 把arguments转换成数组

    function log(){ var args =Array.prototype.slice.call(arguments); console...

  • 递归求阶乘

    function self(index){ if(index==1) return 1; else return index*self(inde...

  • 数组去重indexof方法

    var arr1 =[1,2,2,2,3,3,3,4,5,6], arr2 = []; for(var i = 0,len = arr1.len...

  • input去掉默认的蓝线框

    css方法1: input { outline:none; } css方法2: input:focus { outline:none; }

  • 实现鼠标移入网页隐藏鼠标

    css方法: *{cursor:none!important;}