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 trialPablo Grippo
25,765 PointsI 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
Jason Anello
Courses Plus Student 94,610 PointsHi 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.
Jason Anello
Courses Plus Student 94,610 PointsMaybe try refreshing the page.
Your code passes task 1 for me.
Pablo Grippo
25,765 PointsThe 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!