diff --git "a/28. \346\212\200\345\267\247-\345\207\275\346\225\260\351\230\262\346\212\226/\350\257\276\345\240\202\344\273\243\347\240\201/debounce.html" "b/28. \346\212\200\345\267\247-\345\207\275\346\225\260\351\230\262\346\212\226/\350\257\276\345\240\202\344\273\243\347\240\201/debounce.html" index 4a3c2c77d1861e1e8f1c5031350fd760afbb7546..5d2098230ec04e2da38102b774178531d223d1db 100644 --- "a/28. \346\212\200\345\267\247-\345\207\275\346\225\260\351\230\262\346\212\226/\350\257\276\345\240\202\344\273\243\347\240\201/debounce.html" +++ "b/28. \346\212\200\345\267\247-\345\207\275\346\225\260\351\230\262\346\212\226/\350\257\276\345\240\202\344\273\243\347\240\201/debounce.html" @@ -16,9 +16,6 @@ // 将该函数的this传递到fn var curThis = this; // 将该函数的参数全部传递给fn - function slice() { - this; - } var args = Array.prototype.slice.call(arguments, 0); timerId = setTimeout(function () {