Prashant Handelprashanthandel.hashnode.dev·Dec 26, 2022Console.log() vs console.dir()Both methods console.log() and console.dir() are used to display contents in the console of the browser. Console.log() The console.log() method prints out the object in the console in the form of string to the user. It returns the object in its strin...69 readsconsole.dir