Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
I don't know where to go from here....
This is what I have so far... var data = [ 1, 1, 1 ];
var assorted = [ var num = 1, var num2 = 2, var answer = num + num2, answer === 3 ];
It ask for a string and a boolean. I don't know if they have to relate? I don't know how to go about formatting a boolean inside of an array.
var data = [ 1, 1, 1 ]; var assorted = [ var num = 1, var num2 = 2, var answer = num + num2, answer === 3 ];
Trevor Johnson14,427 Points
Hi Jayson, var assorted needs to look like the first array you passed. It is simply an array with three different sorts of inputs, such as a string, a number, and a true or false value. Input it the same way as before, and remove the unnecessary variables that you have within your second array. You will need to do your second array over and think about how you can input those values the same way you created the first array.