Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use the console.dir method occasionally to get the public methods and properties of HTML elements, for instance console.dir(document.body) would output all the methods and properties


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: