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 trialGareth Redfern
36,217 Pointsnamespaced in Javascript
Can someone explain in simple terms what "namespaced" means when used in Javascript? Andrew talks about it in the Google Maps API lesson and I am not sure if it is covered in earlier lessons but I can't find it.
Thanks Gareth
3 Answers
Andrew Chalkley
Treehouse Guest TeacherNamespacing makes it possible to have similar named things but they don't clash.
If you wanted to create your own custom Marker
object you don't need to worry that it's going to clash with Google Maps' Marker class because it has google.maps
prepended to the beginning of it.
You can read up more on the [Wikipedia page](http://en.wikipedia.org/wiki/Namespace_(computer_science\))
Gareth Redfern
36,217 PointsAhh right I understand now thank you, are there any plans to explain these kind of terms in more detail in upcoming lessons?
Andrew Chalkley
Treehouse Guest TeacherWe're always looking to add more things to our curriculum.
In terms of new content releases, our public roadmap is the place to check back to now and again so keep an eye out there for any expansions or refreshes to the JavaScript Foundations they'll be listed there.
But in the mean time if you have any questions about any of our courses feel free to post here in the forum and we'll help you in your learning.