mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
8 lines
115 B
JavaScript
8 lines
115 B
JavaScript
expect(() => {
|
|
class X { [0 in 0]; }
|
|
}).toThrow();
|
|
|
|
expect(() => {
|
|
class X { [0 instanceof 0]; }
|
|
}).toThrow();
|