您好,欢迎访问一九零五行业门户网

javascript 数组的方法集合_基础知识

看看手册上的解释,拥有以下方法:
5iscript.cnconcat方法
join方法
pop方法
push方法
reverse方法
shift方法
slice方法
sort方法
splice方法
tolocalestring方法
tostring方法
unshift方法
valueof方法
5iscript.cn 
还有就是以下是javascript1.6版本的新方法,支持firefox1.5+但是ie7及以下版本不支持
every(testfunction[thisobj])
filter(testfunction[thisobj])
foreach(testfunction[thisobj]) indexof(targetelement, [startindex])
lastindexof(targetelement, [startindex]
map(testfunction[thisobj])
some(testfunction[thisobj])
其它类似信息

推荐信息