rem: var kids = aTreeKids.childNodes; for (var i = 0; i < kids.length; ++i) { aTreeKids.removeChild(kids[i]); 
add: while (aTreeKids.hasChildNodes()) { aTreeKids.removeChild(aTreeKids.lastChild); 
context:   emptyTree: function(aTreeKids)  {    var kids = aTreeKids.childNodes;    for (var i = 0; i < kids.length; ++i) {      aTreeKids.removeChild(kids[i]);    }  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d41f5da2d5e2374b4578f8ae5ca3d2d3c8de7c2b/jsObjectViewer.js/clean/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js