mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
32 lines
380 B
TypeScript
32 lines
380 B
TypeScript
class C {
|
|
"constructor"() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
class D {
|
|
'constructor'() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
class E {
|
|
['constructor']() {
|
|
console.log(this);
|
|
}
|
|
}
|
|
|
|
new class {
|
|
"constructor"() {
|
|
console.log(this);
|
|
}
|
|
};
|
|
|
|
var o = { "constructor"() {} };
|
|
|
|
class F {
|
|
"\x63onstructor"() {
|
|
console.log(this);
|
|
}
|
|
}
|