differecne between console log 28 29 and console dir 28 29

Solutions on MaxInterview for differecne between console log 28 29 and console dir 28 29 by the best coders in the world

showing results for - "differecne between console log 28 29 and console dir 28 29"
Thiago
23 Apr 2017
1var str = "Howdy GeeksforGeeks"
2var geek = {
3  book: "harrypotter",
4  price: "2000"
5};
6var geek2 = [10, 20, 30];
7console.log(str);
8console.dir(str);
9console.dir(geek);
10console.log("geek (log) = ", geek);
11console.dir(geek2);
12console.log("geek2 (log) = ", geek2);
13
14// Prints only string as dir() takes 
15// only one parameter. 
16console.dir("geek2 (dir) = ", geek2);
queries leading to this page
javascript log methoddifference between console log and console dirlogger jsmath log javascriptwhat is console in jslog in javascript log js 21login means in jslogi info javascript functionswhat is the console object in javascriptjavascript console logwhat is browser console in javascriptconsole jsjavascript log formatconsole type in javascriptlog jsconsole log console dirlog for jslogn function example javascriptjs logarithmiclogarit in javascriptmath logjs logarithmwhat is difference between console log and console dirjavascroipt consolejavascript write consoleconsole dir vvs console loghow to write log in javascript console log vs console dirhow to console dir from within console itselfconsole statement in javascriptjavasciript logjavascript console satemensjavascript logger librariemath log jsconsole log dirjavascript math logwhat is console in javascript log 28 29 javascriptlog dir javascriptjs logjavascript log requestconsole methods javascriptconsole dir javascriptjs loggingjavascript consoleconsole log and console dirwhat is console dirconsole object in javascriptjavascript write to consolewhere does javascript log tojavascript log what calledlog service javascriptlogarithm in javascriptconsole dir vs console logjavscript log functionconsole log in javascriptis log 28 29 a method or function in javascriptsimple console javascriptlog in jswrite to console jsdifferecne between console log 28 29 and console dir 28 29how to write console in javascriptjavascript log typeconsole dirhow does math log 28 29 worklog stuff in javascriptconsole log 28dir 29differenece between document write and console logwhat is the difference between console log 28 29 and console dir 28 29build log in javascriptjavascript console methodsdifference console log and console dirconsole in jsjs console methodshow to log data type in jshow to use console jsjavascript logarithmdifference between console log and cwarnjs math logis the a log function in javascriptconsole log vs console dirdifference between console log and console dirconsole dir vs logjs log functionjavascript math logconsole dirconsole javascriptjs math loglogarithm javascriptconsole methods in javascriptconsole dir in javascriptjs log mathslogn javascriptdifference between console log 28 29 and console dir 28 29log javascriptlog type javascriptconsole log dirconsole dir console log la difference console log console dirhow to log function jsfind log with javascriptjavascript logjs log plainconsole in jsjavascript console dirjavascript log fuinction callscreate log in jsconsole dir 28document 29 3bjs consolemath log javascriptdifferecne between console log 28 29 and console dir 28 29