Ravager (2) [Avatar] Offline
#1
Lesson 2 (page 16)

case CLEAR_ALL_ITEMS:
  items.splice(0, items.length);


Would that not be simpler as:

case CLEAR_ALL_ITEMS:
  items.length = 0;