Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
  Manish Giri
16,266 PointsHow to show/enable type of the data in the Dev Tools console?
In the past, if you had some data logged to the console, Chrome would show its type, like Object, Array, etc. But now, it just shows the data itself, without its type.
For instance, in the console, if you type -
var h = {a:1, b: 2}
then type h to see the value, you'll just get back -
{a:1, b:2}
In the past, the console would display the type as well -
Object { a: 1, b: 2 }
Here is a screenshot where you can see an example from the past, where the console would display the data types clearly. Whereas, in this screenshot from today, the type is not shown.
Was this feature removed in an update? If so, how do I get it back?
I'm using Chrome Version 64.0.3282.140 (64-bit) on Windows 10.
Thanks
1 Answer
Antonio De Rose
20,886 Pointsyes, I went into see that, it does only show the way, that you are not expecting, however, if you use the diamond shape key in front in {a:1, b:2}, it collapses you and show you what type it is.