Summary: Letter and Words

Review what we learned about characters and strings in JavaScript.

We'll cover the following

Key points

  • Strings are collections of characters that are used to show blocks of text in JavaScript.

  • Special values can be escaped by placing a backslash ( \ ) in front of them.

  • Strings have various properties and methods that provide information about them.

  • The length property tells us how many characters there are in a string.

  • Strings can be concatenated (joined together) using the + operator.

  • Template literals are like superpowered strings, allowing JavaScript code to be inserted into a string.

Now that we’ve learned all about strings, it’s time to learn all about numbers in the next chapter. But first, we have a quiz and a challenge!

Get hands-on with 1400+ tech skills courses.