You can also use multiple methods on the same variable. For example, you have declared a variable name with a string of “jack”. You want to make the first letter a capital, but leave the rest lower case. You can do that by typing name = name.slice(0).toUpperCase(); and you will get the result of “Jack”. The slice method retrieves the first letter “j” then the toUpperCase method transforms the letter to “J” and then returns “J” to the name variable.