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
Andrew Gursky
12,576 PointsCan someone explain the syntax '{{'...'}}' to me?
I've never seen that before. I've been working with js a lot over the past year, and I also have done the node.js basics course in Treehouse. I've seen it only in this tutorial (and in the node docs). Can someone explain how it works?
Can it be used on only objects? Only JSON? Both? Does it just go into an object and then go one level deeper to an object within an object? I don't understand.
Any insight would be helpful.
Thanks:)
1 Answer

Ken Alger
Treehouse TeacherAndrew;
To which tutorial are you referring? Double curly braces are fairly common in templating engines and in frameworks like Angular.
If you provide a link to the tutorial or a code snippet I am sure we can get your question answered.
Happy coding,
Ken