mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
5 lines
176 B
JavaScript
5 lines
176 B
JavaScript
// JSON is wrapped because it starts with an uppercase letter, but it
|
|
// should not be possible to extend it anyway.
|
|
|
|
expect(() => class BetterJSON extends JSON {}).toThrow();
|