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 trialPolo Moreno
11,782 Pointswhats is the answer in this question
the answer say this
Set the 'guides' that has placeholders for 42 elements but has no values stored in it.
who is the answer?
var mixture = ['a string', 'manchas', 'a sub array', 3, 9, true];
var guides;
2 Answers
Geoff Parsons
11,679 PointsThat assignment is poorly worded in my opinion. What it's asking for is for guides
to be an array that has space allocated for 42 elements but no elements assigned yet. What it's looking for is this:
var guides = new Array(42);
jeremie singler
4,569 Pointshello var guides = [41];
because array start to count at 0
Best regards