最近项目要兼容到ie9,故此处做个收集,方便使用。
兼容ie9的方法:
Array:
concat()
every()
filter()
forEach()
indexOf()
lastIndexOf()
isArray()
join()
map()
pop()
push()
reduce()
reduceRight()
reverse()
shift()
slice()
some()
sort()
splice()
toString()
unshift()
valueOf()
String:
charAt()
charCodeAt()
concat()
fromCharCode()
indexOf()
lastIndexOf()
match()
replace()
search()
slice()
split()
substr()
substring()
toLocaleLowerCase()
toLocaleUpperCase()
valueOf()
toString()
Object:
create()
defineProperty()
defineProperties()
freeze()
getOwnPropertyDescriptor()
getOwnPropertyNames()
getPrototypeOf()
isExtensible()
isFrozen()
isSealed()
keys()
preventExtensions()
seal()
setPrototypeOf()
hasOwnProperty()