Use Console.Dir For Logging Html Elements

TopicSource
๐Ÿ–ฅ๏ธ TechTips and Tricks for Debugging JavaScript - YouTube

Don't use console.log to always log in JS. console.dir can actually handle the output of HTML elements better and give you more information


  1. Use console.table to print out huge objects into the console