Skip to content

Write $jscomp.setPrototypeOf and rework Reflect.setPrototypeOf and Object.setPrototypeOf to use it #2529

@brad4d

Description

@brad4d

Motivation for this change is we need the functionality of setPrototypeOf in $jscomp.inherits(), but it's problematic for that method to directly depend on methods that must themselves be polyfilled.

See PR #2419 for why we need this functionality in $jscomp.inherits()

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions