2017-12-20 14:46:00 -05:00

4 lines
172 B
JavaScript

// JSON is wrapped because it starts with an uppercase letter, but it
// should not be possible to extend it anyway.
assert.throws(() => class BetterJSON extends JSON {});