map优化
jaywcjlove opened this issue · comments
小弟调调 commented
使用Array的map优化map方法
Array.prototype.map
小弟调调 commented
@yanhaijing 果然这样干不错哦,优化了。自动化测试要学习一下,测试好费时间。共同学习哦。
颜海镜 commented
:-) 我在看到这个方法时就觉得好奇怪,为何不用,测试这个得共同学习了,现在改了代码的话 没法保证对现有程序是否会引入bug
小弟调调 commented
优化 $.map
导致调用 ['after','prepend','before','append']
方法报错
TypeError: Argument 1 of Node.insertBefore does not implement interface Node.
颜海镜 commented
回滚了