Skip to content
JS
JavaScript error

SyntaxError

The JavaScript exception "property name \_\_proto\_\_ appears more than once in object literal" occurs when an object literal contains multiple occurrences of the proto field, which is used to set the prototype of this new object.

Reference entryJavaScriptFetched
SyntaxError: Duplicate __proto__ fields are not allowed in object literals (V8-based)
As listed by MDN Web Docs
SyntaxError: property name __proto__ appears more than once in object literal (Firefox)
As listed by MDN Web Docs
SyntaxError: Attempted to redefine __proto__ property. (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.273Z.