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 trialRifqi Fahmi
23,164 PointsIs treehouse challenge not yet implement ES2015 ? (especially the interpolation)
the arrow function seems fine but the interpolation using backtick (`) still get an error.
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsNode.js implements some, but not all ES2015 features.
See the article ECMAScript 2015 (ES6) and beyond for more information.
Presumably the challenge system (and workspaces, etc) use a particular version of Node, and it may not be the newest version.
Rifqi Fahmi
23,164 Pointsyeah i guess so, thanks for the answer :D
Kathryn Notson
25,941 PointsKathryn Notson
25,941 PointsRifqi Fahmi:
I don't know what track you're on, but yes, there is an "Introducing ES2015" Treehouse course. It's part of the updated Full Stack JavaScript track. I think you haven't updated your track as you either haven't reviewed the changes to your track nor accepted your changes. Your notification would have been located at the beginning of your track before the list of all the individual modules in your track.
I'm not sure what you're calling a "back tick," unless it's the key left of the ! & 1 key (
) on your keyboard, or the "back slash" key (\\\) which is to the right of the } & ] on your keyboard. The "forward slash" (///) is on the same key as the ? It is used for directory/folder/file paths. The instructor is using the (
) key to comment in the terminal, not to execute commands.Sometimes, you'll want to enlarge your view of the video to "full screen" so you can see what the instructor types in the terminal at the Command Prompt. Laptop computer screens (viewports) aren't as tall as desktop computer screens (viewports), so the videos can look "scrunched" on a laptop computer screen. You can escape from the full screen mode by clicking on the bottom right corner of the video panel where the diagonal arrows are located.