var aList=new ActionList(); var aList2=new ActionList(); aList.putList(aList2); alert(aList.count); aList.clear(); alert(aList.count);