Please enable JavaScript to use CodeHS

CodeHS Glossary


String JavaScript

Strings are sequences of characters, or letters. For example, we could use a string to store the name of Karel's favorite toy in a variable. var favoriteToy = "tennis ball"; The quotation marks `" "` denote that this is a string of text.