google / google/CodeCity

Polyfilled builtin functions shouldn't be constructors

Open
#188 1 comment 0 reactions 0 assignees View on GitHub
bug server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

At the moment, polyfilled builtins like `Array.prototype.join`:

* are constructible, and
* have a (writable, but non-configurable) `.prototype` property.

Neither of these should be true.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.