Is there a situation where `console.log` and console.dirxml` behave differently?

I’ve been looking into alternatives on the Console API in JavaScript. In certain browsers console.log prints out things differently to console.dir, the biggest difference being with HTML elements.

However I can’t find a situation where console.log behaves differently to console.dirxml. Are there objects I haven’t come across that have an XMLrepresentation that console.log doesn’t use?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.