Alert boxes only allows strings therefore all you will see is the typeof which in for a DOM element is object, if you need to debug your code you will need to use either Chrome’s, Opera’s, Firefox’s or Safari’s developer tools which you can learn more about at the below link.
Firefox was the last browser to get the developer tools built in instead of as an extension.
So it really doesn’t matter which browser you use as they all understand the console object and have developer tools that provide access to the console to see what the call wrote.