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

JavaScript Node.js Basics 2017 Building a Command Line Application Parsing JSON

How to get documentation in the console

I am trying to find out more about which parameters response.on can take and more information on them (i.e. 'data', 'end'). Is there a way to access this information within the console?

For another example, how would I see the documentation for console.log() in the console?

1 Answer

Doron Geyer
seal-mask
.a{fill-rule:evenodd;}techdegree
Doron Geyer
Full Stack JavaScript Techdegree Student 13,897 Points

Joseph Tavinor while it is possible to do it , its a process that would take you longer to complete than just going to the actual MDN page for the relevant information.

If you would still like to do this however here is an article that explains it. https://flaviocopes.com/how-to-list-object-methods-javascript/

Also if your syntax is correctly done and you are using vscode, intellisense should actually give you a list of properties that you can use. If you are not getting anything from your intellisense I suggest googling it to see what your syntax should look like vs what you have. There can be small subtle differences that cause intellisense to not pick up .