2012-08-30 2 views

답변

5

은 0 기반 인덱스를 이용하기 때문에.

1은 0 색인 (짝수 임) 등입니다.

Reference

어레이 JS 0 기반이며 jQuery를 배열 형 구조의 랩 요소 개체. 당연히 대부분의 jQuery 메서드는 nth-child()과 같이 명시 적으로 명시하지 않는 한 0 기반 인덱싱을 사용합니다. 이는 CSS spec에서 파생되므로 1 개의 인덱스가 사용됩니다.

4

"In particular, note that the 0-based indexing means that, counter-intuitively, :odd selects the second element, fourth element, and so on within the matched set."

Reference

관련 문제