Skip to content
JS
JavaScript error

SyntaxError

The JavaScript exception "missing ) after argument list" occurs when there is an error with how a function is called. This might be a typo, a missing operator, or an unescaped string.

Reference entryJavaScriptFetched
SyntaxError: missing ) after argument list (V8-based & Firefox)
As listed by MDN Web Docs
SyntaxError: Unexpected identifier 'x'. Expected ')' to end an argument list. (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.