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
M. Subhan Naeem
Full Stack JavaScript Techdegree Student 11,290 PointsIs this lesson still out of date with ES6?
SHOULD we still use these methods in writing code these days? Or should we use ES6 to make modules? I just know that there are some module making options now in ES6 and some things about a transpiler called Babel. But I don't know which one to use in my code.
Any suggestions are appreciated.
1 Answer
Robert Stefanic
35,170 PointsWhat lesson are you referencing?
For the most part, if it can be done using ES6, then it should be done in ES6.
M. Subhan Naeem
Full Stack JavaScript Techdegree Student 11,290 PointsM. Subhan Naeem
Full Stack JavaScript Techdegree Student 11,290 PointsIm referring to this lesson The Module Pattern in JavaScript https://teamtreehouse.com/library/the-module-pattern-in-javascript