摘要: ``` function once (fn) { var called = false; return function () { if (!called) { called = true; fn.apply(this, arguments); } } } ``` 阅读全文
posted @ 2018-05-07 11:25 FE-神鸟 阅读(445) 评论(0) 推荐(0) 编辑