mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
141 B
TypeScript
12 lines
141 B
TypeScript
const key1 = "key1";
|
|
class NoConstructor {
|
|
[key1] = 4;
|
|
}
|
|
|
|
const key2 = "key2";
|
|
class WithConstructor {
|
|
[key2] = 4;
|
|
|
|
constructor() {}
|
|
}
|