# Syntax Error

An error caused by code that does not follow JavaScript's grammar.

## What is **Syntax Error** in JavaScript?

**Syntax Error** — An error caused by code that does not follow JavaScript's grammar.

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/syntax-error
