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
SAMUEL LAWRENCE
Courses Plus Student 8,447 PointsBuild an object challenge
Hi guys did anyone else notice that in the solution video of the build an object challenge, for the first object of the array, Dave McFarland used a number for the points and achievement properties for the first object, but he used strings for all the others for the same points and achievements? Why?
video link https://teamtreehouse.com/library/javascript-loops-arrays-and-objects/tracking-data-using-objects/the-build-an-object-challenge-part-1-solution video time: 00:38 and 02:00
1 Answer
Andrey Misikhin
16,529 PointsHaha, you are right, I think it is just a "bug", it must be integers as in first object.