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 trialAnthony Albertorio
22,624 PointsA clearer explanation of the arrow function
Check this video for a clearer more straight forward explanation of the arrow function without the mention of promises or extra code bloat.
https://www.youtube.com/watch?v=oTRujqZYhrU&list=PL57atfCFqj2h5fpdZD-doGEIs0NZxeJTX&index=2
Anthony Albertorio
22,624 PointsJonathan Grieve, Depends on what browser you use. Newer versions of browsers will be running ES6. Node.js has about 99% of ES6 support as of this writing. In order to ensure backwards compatibility Devs should use the Babel compiler to turn ES6 code into ES5 code. Then, over time when most browsers that support ES5 are depreciated, one can use the ES6 code directly without worry.
Hope this helps.
Jonathan Grieve
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsNice video so far, looking forward to looking at it further.
But I've liked the way the new ES6 course has explained some of the concepts.
My only question might sound a bit obvious but I don't think the course explained this yet, but how do we get started using the new features...
just as standard JS file as usual and a modern browser?