rem: a.sort(function (a,b) { return (a.id < b.id) ? -1 : 1; }); 
add: function () { return this.length && this[this.length-1]; }, 
context:     a.sort(function (a,b) { return (a.id < b.id) ? -1 : 1; });
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f47551589c7db0209819363cc29d9cb6e9f8620b/jsparse.js/buggy/js/narcissus/jsparse.js