Articles → JavaScript → console.dir() method in JavaScript

console.dir() method in JavaScript






Purpose





Syntax


console.dir(javascript_object)



Example












console.dir(window.navigator)



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, June 01, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250