Preparing for system design interviews?  Try bugzed.com →

babel-plugin-transform-builtin-classes

JSON →
library 0.6.1 ·javascript maintenance
verified Jun 17, 2026

Babel plugin (v0.6.1) that fixes extending built-in classes like Array, Error, HTMLElement, etc., which are notoriously broken in transpiled ES2015 classes. It patches the prototype chain so that instances created via `new MySubclass()` properly inherit from the subclass and its constructor. Requires `babel-plugin-transform-es2015-classes` as a prerequisite. Key differentiator: handles multiple globals, has a `logIfPatched` option, and works with Rollup (inverted plugin order). No known active development; last release was in 2017. Compatible with IE11+ and uses `Object.setPrototypeOf` or `__proto__` as fallback.

total hits 16
actors 5 distinct systems
last hit 17d ago ByteDance
ByteDance
6
GPTBot
4
Script
1
Search engines
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom