代码改变世界

随笔档案-2015年09月

ie8下array的map()方法不支持

2015-09-06 15:46 by Truke, 936 阅读, 收藏,
摘要: /*ie map()方法*/ if(!Array.prototype.map){Array.prototype.map=function(callback,thisArg){var T,A,k;if(this==null){throw new TypeError(" this is null ... 阅读全文