globalsconsoleconsole.dir()Version: 3.28.0On 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.