How to display JavaScript object using console.log method?

How to display JavaScript object using console.log method?

More to explore