# String

Text inside quotes, like \\"hello\\" or 'coffee'.

## What is **String** in JavaScript?

**String** — Text inside quotes, like \"hello\" or 'coffee'.

```javascript
const city = "Denver";
```

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/novice)

Updated: September 27, 2026

## In other subjects

- [string in C#](https://www.ask-codey.com/glossary/string-c-sharp)
- [String in Java](https://www.ask-codey.com/glossary/string-java)

Source: https://www.ask-codey.com/glossary/string-javascript-2
