Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tfsh
on April 12, 2021
|
parent
|
context
|
favorite
| on:
Use console.log() like a pro (2020)
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: