关于mootools.js中两句代码的疑问
Array.prototype.each = Array.prototype.forEach;
Array.each = Array.forEach;
这两个有区别吗?prototype一下应该就可以了 有必要下面再来一句吗?
------解决方案--------------------
嗯应该是老版本的兼容性问题
查询谷 - www.chaxungu.com
关于mootools.js中两句代码的疑问解决方法
编辑:chaxungu时间:2022-10-02 23:18:20分类:web开发