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

JavaScript

Why String(true) first letter is caps, but most method start with lowercase letter.


1 Answer

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

Hi msdsmd sm,dfsadf when you see the first letter capitalized like that, it typically indicates a class or constructor. You can learn more about those in the courses about Object Oriented Programming. And here's a MDN doc that provides some info on the String() constructor. Hope that helps. :thumbsup: