2 ms·for(i = list.size; i--;) list.removeAt(i);by willfarrell 15y agofor(i = list.size; i--;) list.removeAt(i);