Example 1 — Official: .slice(2)
Keep every item from index 2 to the end (jQuery API demo).
$("li").slice(2).append(" [from 2]"); How It Works
- Select. Start with every
li. - Start. Index 2 is the third item.
- No end. The range continues to the last item.

