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!

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 JavaScript Foundations Arrays Creating Arrays

Pablo Grippo
Pablo Grippo
25,765 Points

I have a problem with arrays.

I don't know why the code challenge throws me an error

var mixture = ['some','other','arrays',4,5,true];

There was an error with your code: ReferenceError: Can't find variable: array

3 Answers

Hi Pablo,

It should be Array The rest looks good.

Usually when it says a previous task is no longer passing it's an error in your current task. It throws you off though.

Maybe try refreshing the page.

Your code passes task 1 for me.

Pablo Grippo
Pablo Grippo
25,765 Points

The problem is in task 2. I write this code for task 2:

var guides = new array(42);

And it says me that task 1 is no longer passing but task 1 was ok.

I don't know what is happening. Thank you in advance for your help!