Logging DOM Elements as Objects
How to use console.dir() to log DOM Elements as objects instead of their HTML representation so that their methods and properties can be explored.
How to use console.dir() to log DOM Elements as objects instead of their HTML representation so that their methods and properties can be explored.