rem: Object.inspect = function(object) { try { if (object == undefined) return 'undefined'; if (object == null) return 'null'; return object.inspect ? object.inspect() : object.toString(); } catch (e) { if (e instanceof RangeError) return '...'; throw e; } } 
add: inspect: function(element) { element = $(element); var result = '<' + element.tagName.toLowerCase(); $H({'id': 'id', 'className': 'class'}).each(function(pair) { var property = pair.first(), attribute = pair.last(); var value = (element[property] || '').toString(); if (value) result += ' ' + attribute + '=' + value.inspect(true); }); return result + '>'; }, 
context: Object.inspect = function(object) {  try {    if (object == undefined) return 'undefined';    if (object == null) return 'null';    return object.inspect ? object.inspect() : object.toString();  } catch (e) {    if (e instanceof RangeError) return '...';    throw e;  }}
meta: 6601	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6601/28b3187d07d97712c23182569a4d6fd00900b5f7/prototype.js/buggy/javascript/prototype/prototype.js