Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Basics!
You have completed JavaScript Basics!
Preview
JavaScript provides additional functionality to use with strings via "properties" and "methods." Learn how to use the '.length' property, as well as the '.toUpperCase()' and '.toLowerCase()' methods.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now don't worry too much about
the word object right now.
0:00
Just know that because strings
are treated as objects,
0:02
JavaScript unlocks a slew of additional
functionalities you can use with
0:05
strings using what are called
properties and methods.
0:09
For example, you're able to transform a
string by converting all of its characters
0:12
to lowercase or uppercase.
0:16
You can find the length of a string or
a number of characters inside it,
0:18
even combine several strings into one,
and lots more.
0:21
Let me teach you why this is useful.
0:24
In your workspace, open the file named
transform.js located inside the js folder.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up