function <br> <br> <br> anonymous() { parametr0 += 10; }
function anonymous() {parametr0 += 10;}
<textarea></textarea> <div> function <br><br><br> f() { alert(''); } </div> <script> window.onload = function () { var div = document.getElementsByTagName('div')[0]; var textarea = document.getElementsByTagName('textarea')[0]; textarea.innerHTML = div.innerHTML.replace(/\n/g, '').replace(/<br>/g, '\n'); } </script>