# Comment

Text written for people reading the code that the JavaScript engine ignores.

## What is **Comment** in JavaScript?

**Comment** — Text written for people reading the code that the JavaScript engine ignores.

```javascript
// Keep the original price for the receipt.
const price = 12;
```

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

Updated: September 27, 2026

## In other subjects

- [Comment in C#](https://www.ask-codey.com/glossary/comment-c-sharp)
- [Comment in CSS](https://www.ask-codey.com/glossary/comment-software-development)
- [Comment in Java](https://www.ask-codey.com/glossary/comment-java)

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