Try One Function at a time and refresh the page before trying the other function
Traversing childrem div > div
Refresh/Reload
||
$("div > div").slice(2, 5)
 
$("div").children(".x1")
  slice(2, 5)
0
1
2
3
4
5
6