Syntax error
For example, if you leave off a closing brace (}
) when defining a JavaScript
function, you trigger a syntax error. Browser development tools display JavaScript
and CSS
syntax errors in the console.
See also
- Syntax error on Wikipedia
-
SyntaxError
JavaScript object