O'Reilly Forums: Ch 4, Page 162, Slice Method - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ch 4, Page 162, Slice Method

#1 User is offline   kewlgeek 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 19
  • Joined: 15-December 06

Posted 13 July 2012 - 06:49 AM

Page 162 states that the following:
$(".menu_list").children().slice(1, 3);

would only return one element, however when I test this it returns 2 elements, which is consistent with page 164 where .slice(1,3) returns 2 elements.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users