프로그래밍/JavaScript
indexOf
암초보
2011. 4. 18. 09:32
indexOf(val,index) :
index위치 이후에 존재하는 val 값의 위치를 반환.(없을시, -1 반환)
(위치는 0부터 시작.)