mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
6 lines
83 B
JavaScript
6 lines
83 B
JavaScript
expect(() => {
|
|
class Foo {
|
|
[Foo + 1] = 2;
|
|
};
|
|
}).toThrow(ReferenceError);
|