4 lines
172 B
JavaScript
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 {}); |