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 One Solution

I want to know whats in the const recipe

In this video Gil passes on the recipe data from the recepies variable. what could i code into my file that will allow me to just see into whats inside that variable?

1 Answer

Steven Parker
Steven Parker
231,248 Points

A common testing technique is to use a "console.log" function to output a value to the console as the program runs.

You could also use "alert", which will output it to a separate window, and pause the program until you close it.