Skip to content
JS
JavaScript error

SyntaxError

The JavaScript exception "missing } after property list" occurs when there is a mistake in the object initializer syntax somewhere. Might be in fact a missing curly bracket, but could also be a missing comma.

Reference entryJavaScriptFetched
SyntaxError: missing } after property list (Firefox)
As listed by MDN Web Docs
SyntaxError: Unexpected identifier 'c'. Expected '}' to end an object literal. (Safari)
As listed by MDN Web Docs
Category
SyntaxError
Severity
error
Runtime
both
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: MDN Web Docs. Data fetched 2026-09-25T01:48:37.274Z.