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 trialed quijano
11,907 PointsStuck with a challenge in JS Foundations. Please help
Add to the 'me' object a key of "age" and set it to your age, not as a string, but a number.
Jason Anello
Courses Plus Student 94,610 PointsWhat do you have so far?
2 Answers
eck
43,038 PointsTry something like this! :D
var me = {
name: "Erik Krieg",
};
me.age = 23;
// or you could do
me["age"] = 23;
ed quijano
11,907 PointsThanks, recently I revised again the video and I can understand the answer. Thanks everybody for the help.
Alex Cevallos
16,551 PointsAlex Cevallos
16,551 Pointsany chance you could post your code?