Skip to content
JS
JavaScript error

TypeError

The JavaScript exception "TypeError: can't set prototype: it would cause a prototype chain cycle" occurs when an object's prototype is set to an object such that the prototype chain becomes circular (a and b both have each other in their prototype chains).

Reference entryJavaScriptFetched
TypeError: Cyclic __proto__ value (V8-based)
As listed by MDN Web Docs
TypeError: can't set prototype: it would cause a prototype chain cycle (Firefox)
As listed by MDN Web Docs
TypeError: cyclic __proto__ value (Safari)
As listed by MDN Web Docs
Category
TypeError
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.