* isConstantExpression should return true for immuable bindings * New test * Don't return undefined
6 lines
69 B
JavaScript
6 lines
69 B
JavaScript
expect(() => {
|
|
class C {
|
|
static [C + 3] = 3;
|
|
}
|
|
}).toThrow();
|