摘要:
ES6数组新增的几个方法: 1. forEach() 2. map() 3. filter() 4. reduce() 5.some() 6. every() ES6数组去重 1.方法一 2. 方法二 阅读全文
摘要:
//文字依次出来效果 $.fn.autotype = function() { var $text = $(this); // console.log('this', this); var str = $text.html(); //返回被选 元素的内容 var index = 0; var x = $text.html(''); //$text... 阅读全文