globalsconsoleconsole.dir()Version: 3.27.2On this pageconsole.dir()The method console.dir() displays a list of the properties of the specified JavaScript object.Syntaxdir(object)Parametersobject: A JavaScript object whose properties should be output.Return valueundefined.