#javascript: console lesser known features.

Console.dir to force inspectable

This is helpful if your logging objects or arrays that are shorter and being logged as strings. Console.dir gives you an inspectable object.

>Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.

Like what you read? Give Ryan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.