Home >Web Front-end >JS Tutorial >JavaScript array method collection_basic knowledge
Look at the explanation in the manual, it has the following methods:
5iScRIPT.CNconcat method
join method
pop method
push method
reverse method
shift method
slice method
sort method
splice method
toLocaleString method
toString method
unshift method
valueOf method
5iScRIPt.Cn
The following is the JavaScript1.6 version New method, supports Firefox1.5 but IE7 and below does not support
every(testfunction[thisobj])
filter(testfunction[thisobj])
foreach(testfunction[thisobj]) indexOf(targetElement, [startIndex ])
lastIndexOf(targetElement, [startIndex]
map(testfunction[thisobj])
some(testfunction[thisobj])